Reference
Instances
GET/api/v1/instancesList instances
Lists the customer instances nxva.base provisions, by company name, with state and release. Deleted instances only when state is "deleted". Use get_instance for one by id or subdomain.scope tasks:read
Query
| state | one of pending, provisioning, running, failed, decommissioning, decommissioned, deleting, deletedOnly instances in this state, e.g. running, failed, pending. |
Response 200
| items[] | object[] |
| items[].id | string |
| items[].subdomain | string | null |
| items[].url | string | null |
| items[].state | string |
| items[].release | string | null |
| items[].is_test | boolean |
| items[].company | string |
| items[].flow | string |
| items[].order_number | string | null |
| items[].task_number | string | null |
| items[].task_url | string | null |
| items[].account_email_domain | string | null |
| items[].created_at | string |
| total | integer |
Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"subdomain": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"state": {
"type": "string"
},
"release": {
"type": [
"string",
"null"
]
},
"is_test": {
"type": "boolean"
},
"company": {
"type": "string"
},
"flow": {
"type": "string"
},
"order_number": {
"type": [
"string",
"null"
]
},
"task_number": {
"type": [
"string",
"null"
]
},
"task_url": {
"type": [
"string",
"null"
]
},
"account_email_domain": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"subdomain",
"url",
"state",
"release",
"is_test",
"company",
"flow",
"order_number",
"task_number",
"task_url",
"account_email_domain",
"created_at"
],
"additionalProperties": false
}
},
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"items",
"total"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.
GET/api/v1/instances/{id}Get instance
One customer instance by its id or its subdomain (e.g. "musterbau"): state, release, company, order and provisioning task.scope tasks:read
Path
| idrequired | stringThe instance's id or subdomain. |
Response 200
| id | string |
| subdomain | string | null |
| url | string | null |
| state | string |
| release | string | null |
| is_test | boolean |
| company | string |
| flow | string |
| order_number | string | null |
| task_number | string | null |
| task_url | string | null |
| account_email_domain | string | null |
| created_at | string |
Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"subdomain": {
"type": [
"string",
"null"
]
},
"url": {
"type": [
"string",
"null"
]
},
"state": {
"type": "string"
},
"release": {
"type": [
"string",
"null"
]
},
"is_test": {
"type": "boolean"
},
"company": {
"type": "string"
},
"flow": {
"type": "string"
},
"order_number": {
"type": [
"string",
"null"
]
},
"task_number": {
"type": [
"string",
"null"
]
},
"task_url": {
"type": [
"string",
"null"
]
},
"account_email_domain": {
"type": [
"string",
"null"
]
},
"created_at": {
"type": "string"
}
},
"required": [
"id",
"subdomain",
"url",
"state",
"release",
"is_test",
"company",
"flow",
"order_number",
"task_number",
"task_url",
"account_email_domain",
"created_at"
],
"additionalProperties": false
}Refusals are problems with a code — see Errors.