Addons /
List addon containers
Gets a list of containers for the given addon.
Required permission
Project > Addons > Deployment > View Instances
Path parameters
projectId
string requiredID of the projectaddonId
string requiredID of the addon
Query parameters
per_page
integerThe number of results to display per request. Maximum of 100 results per page.page
integerThe page number to access.cursor
stringThe cursor returned from the previous page of results, used to request the next page.
Response body
- {object}Response object.
data
{object} requiredResult data.containers
[array]- {object}Data about a container.
name
string requiredThe name of the container.createdAt
integer requiredThe timestamp the container was created.min1status
string requiredThe current status of the container.one ofTASK_RUNNING, TASK_STARTING, TASK_STAGING, TASK_KILLING, TASK_KILLED, TASK_FAILED, TASK_FINISHEDupdatedAt
integer requiredThe timestamp the container was last updated.min1pagination
{object} requiredData about the endpoint pagination.hasNextPage
boolean requiredIs there another page of results available?cursor
stringThe cursor to access the next page of results.count
number requiredThe number of results returned by this request.
API
CLI
JS Client
GET /v1/projects/{projectId}/addons/{addonId}/containers
Example response
200 OK
Details about the addon's containers.
JSON
{
"data": {
"containers": [
{
"name": "example-service-78b4d4459d-sbtn8",
"createdAt": 1611241087,
"status": "TASK_RUNNING",
"updatedAt": 1611241087
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}