Addons /
Get addon
Required permission
Project > Addons > General > Read
Path parameters
projectId
string requiredID of the project
addonId
string requiredID of the addon
Response body
- {object}
Response object.
data
{object} requiredResult data.
id
string requiredIdentifier for the addon.
name
string requiredAddon name.
appId
string requiredFull identifier for the addon.
description
stringA short description of the addon.
createdAt
string requiredThe time the addon was created.
status
string requiredThe current state of the addon.
one ofpreDeployment, triggerAllocation, allocating, postDeployment, running, paused, scaling, upgrading, resetting, backup, restore, failed, deleting, deletedspec
{object} requiredDetails about the addon's specifications.
cluster
{object} requiredCluster information
id
string requiredThe id of the cluster associated with this project.
name
string requiredThe name of the cluster associated with this project.
namespace
stringNamespace this resource is located within on the cluster.
GET /v1/projects/{projectId}/addons/{addonId}
Example response
200 OK
JSON
{
"data": {
"id": "example-addon",
"name": "Example Addon",
"appId": "/example-user/default-project/example-addon",
"tags": [
"my-tag"
],
"description": "This is the addon description",
"createdAt": "2021-01-20T11:19:53.175Z",
"status": "running",
"spec": {
"type": "mongodb",
"config": {
"versionTag": "4.2.14",
"lifecycleStatus": "active",
"deployment": {
"replicas": 1,
"storageClass": "ssd",
"storageSize": 4096,
"planId": "nf-compute-20",
"region": "europe-west"
},
"networking": {
"tlsEnabled": true,
"externalAccessEnabled": true,
"ipPolicies": [
{
"address": "127.0.0.1",
"action": "ALLOW"
}
]
}
}
},
"cluster": {
"id": "nf-europe-west",
"name": "nf-europe-west",
"namespace": "ns-8zy2mcjh9zn2"
}
}
}