Projects /
Get project
Get information about the given project
Required permission
Project > Projects > Manage > Read
Path parameters
projectId
string requiredID of the project
Response body
- {object}Response object.
data
{object} requiredResult data.id
string requiredIdentifier for the project.name
string requiredThe name of the project.description
stringA short description of the project.deployment
{object} requiredregion
string requiredThe region where the project's services, jobs and addons are deployed in.createdAt
string requiredThe time the project was created.services
[array] requiredAn array of services belonging to the project.- {object}A service object.
id
string requiredIdentifier for the service.appId
string requiredFull identifier used for service deploymentname
string requiredThe name of the service.description
stringA short description of the service.serviceType
string requiredType of the service (combined, build or deployment)one ofcombined, build, deploymentjobs
[array] requiredAn array of jobs belonging to the project.- {object}A job object.
id
string requiredIdentifier for the job.appId
string requiredFull identifier used for deploymentname
string requiredThe name of the job.description
stringA short description of the job.jobType
string requiredType of the job (manual or cron)one ofmanual, cronaddons
[array] requiredAn array of addons belonging to the project.- {object}An addon object.
id
string requiredIdentifier for the addon.appId
string requiredFull identifier used for deploymentname
string requiredThe name of the addon.description
stringA short description of the addon.spec
{object} requiredDetails about the addon's specifications.cluster
{object} requiredCluster informationid
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.loadBalancers
[array]Load balancer DNS for the cluster.- string
API
CLI
JS Client
GET /v1/projects/{projectId}
Example response
200 OK
Details about the given project.
JSON
{
"data": {
"id": "default-project",
"name": "Default Project",
"description": "The project description",
"deployment": {
"region": "europe-west"
},
"createdAt": "2021-01-20T11:19:53.175Z",
"services": [
{
"id": "example-service",
"appId": "/example-user/default-project/example-service",
"name": "Example Service",
"description": "This is the service description",
"serviceType": "combined"
}
],
"jobs": [
{
"id": "example-job",
"appId": "/example-user/default-project/example-job",
"name": "Example Job",
"description": "This is the job description",
"jobType": "cron"
}
],
"addons": [
{
"id": "example-addon",
"appId": "/example-user/default-project/example-addon",
"name": "Example Addon",
"description": "This is the addon description",
"spec": {
"type": "mongodb"
}
}
],
"cluster": {
"id": "nf-europe-west",
"name": "nf-europe-west",
"namespace": "ns-8zy2mcjh9zn2",
"loadBalancers": [
"lb.659200800000000000000000.northflank.com"
]
}
}
}