Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
Dedicated compute instance details
The response is of type object[]
.
curl --request GET \
--url https://global.thenile.dev/workspaces/{workspaceSlug}/databases/{databaseName}/compute/{instanceId} \
--header 'Authorization: Bearer <token>'
[
{
"instanceId": "<string>",
"database": {
"id": "<string>",
"name": "<string>",
"workspace": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"stripe_customer_id": "<string>",
"created": "2023-11-07T05:31:56Z"
},
"status": "PENDING",
"region": "AWS_US_WEST_2",
"expandable": true,
"created": "2023-11-07T05:31:56Z",
"deleted": "2023-11-07T05:31:56Z",
"apiHost": "<string>",
"dbHost": "<string>",
"sharded": true
},
"instanceName": "<string>",
"instanceType": {
"id": "<string>",
"computeSize": "<string>",
"memory": "<string>",
"hourlyCost": 123
},
"desiredInstanceType": {
"id": "<string>",
"computeSize": "<string>",
"memory": "<string>",
"hourlyCost": 123
},
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deleted": "2023-11-07T05:31:56Z"
}
]
curl --request GET \
--url https://global.thenile.dev/workspaces/{workspaceSlug}/databases/{databaseName}/compute/{instanceId} \
--header 'Authorization: Bearer <token>'
[
{
"instanceId": "<string>",
"database": {
"id": "<string>",
"name": "<string>",
"workspace": {
"id": "<string>",
"name": "<string>",
"slug": "<string>",
"stripe_customer_id": "<string>",
"created": "2023-11-07T05:31:56Z"
},
"status": "PENDING",
"region": "AWS_US_WEST_2",
"expandable": true,
"created": "2023-11-07T05:31:56Z",
"deleted": "2023-11-07T05:31:56Z",
"apiHost": "<string>",
"dbHost": "<string>",
"sharded": true
},
"instanceName": "<string>",
"instanceType": {
"id": "<string>",
"computeSize": "<string>",
"memory": "<string>",
"hourlyCost": 123
},
"desiredInstanceType": {
"id": "<string>",
"computeSize": "<string>",
"memory": "<string>",
"hourlyCost": 123
},
"status": "PENDING",
"created": "2023-11-07T05:31:56Z",
"updated": "2023-11-07T05:31:56Z",
"deleted": "2023-11-07T05:31:56Z"
}
]
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Dedicated compute instance details
The response is of type object[]
.
Was this page helpful?