Default
Body
accessKeystringRequired
secretKeystringRequired
usernamestringRequired
Responses
201
Token created
application/json
post
POST /api/v1/servers HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 57
{
"accessKey": "text",
"secretKey": "text",
"username": "text"
}
201
Token created
{
"token": "text",
"username": "text",
"message": "text",
"bucketName": "text",
"bucketRegion": "text",
"tags": {},
"groupMembership": "text"
}
Header parameters
AuthorizationstringRequired
Responses
200
Server health status
application/json
get
GET /api/v1/servers/ping HTTP/1.1
Host:
Authorization: text
Accept: */*
200
Server health status
{
"status": "text",
"message": "text",
"username": "text",
"bucketName": "text",
"region": "text"
}
Header parameters
AuthorizationstringRequired
Body
namestringRequired
Responses
201
Database created
application/json
post
POST /api/v1/databases HTTP/1.1
Host:
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 15
{
"name": "text"
}
201
Database created
{
"message": "text",
"name": "text"
}
Path parameters
namestringRequired
Header parameters
AuthorizationstringRequired
Responses
200
Database information
application/json
get
GET /api/v1/databases/{name} HTTP/1.1
Host:
Authorization: text
Accept: */*
200
Database information
{
"id": "text",
"name": "text",
"createdAt": "text",
"lastAccessed": "text",
"lastSynced": "text",
"sizeBytes": 1,
"isAttached": true,
"local": true,
"schemas": {}
}
Header parameters
AuthorizationstringRequired
Body
sqlstringRequired
parametersstring[]Optional
Responses
200
Query result
application/json
post
POST /api/v1/query HTTP/1.1
Host:
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"sql": "text",
"parameters": [
"text"
]
}
200
Query result
{
"columns": [
"text"
],
"rows": [
[
"text"
]
]
}
Header parameters
AuthorizationstringRequired
Responses
200
Table syncs grouped by replication
application/json
get
GET /api/replication/table_syncs_v1 HTTP/1.1
Host:
Authorization: text
Accept: */*
200
Table syncs grouped by replication
{
"databases": [
{
"id": "text",
"name": "text",
"source": {
"credentials": {}
},
"destination": {
"credentials": {}
},
"tables": [
{
"id": "text",
"source_details": {},
"destination_details": {}
}
]
}
]
}
Header parameters
AuthorizationstringRequired
Body
tableSyncIdstringRequired
incrementalbooleanOptional
Responses
200
Table sync triggered
application/json
Responseobject
post
POST /api/replication/table_syncs_v1 HTTP/1.1
Host:
Authorization: text
Content-Type: application/json
Accept: */*
Content-Length: 41
{
"tableSyncId": "text",
"incremental": true
}
200
Table sync triggered
{}