Addons /
List addons
Gets a list of addons belonging to the project
Required permission
Project > Addons > General > Read
Path parameters
projectId
string requiredID of the project
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.addons
[array] requiredAn array of addons.- {object}Information about an addon.
id
string requiredIdentifier for the addon.name
string requiredAddon name.appId
string requiredFull identifier for the addon.description
stringA short description of the addon.spec
{object} requiredDetails about the addon's specifications.status
string requiredThe current state of the addon.one ofpreDeployment, triggerAllocation, allocating, postDeployment, running, paused, scaling, upgrading, resetting, backup, restore, failed, error, errorAllocating, deleting, deletedpagination
{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
Example response
200 OK
A list of addons belonging to the project.
JSON
{
"data": {
"addons": [
{
"id": "example-addon",
"name": "Example Addon",
"appId": "/example-user/default-project/example-job",
"tags": [
"my-tag"
],
"description": "This is the addon description",
"spec": {
"type": "mongodb"
},
"status": "running"
}
]
},
"pagination": {
"hasNextPage": false,
"count": 1
}
}