Zum Inhalt

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

stateone of pending, provisioning, running, failed, decommissioning, decommissioned, deleting, deletedOnly instances in this state, e.g. running, failed, pending.

Response 200

items[]object[]
items[].idstring
items[].subdomainstring | null
items[].urlstring | null
items[].statestring
items[].releasestring | null
items[].is_testboolean
items[].companystring
items[].flowstring
items[].order_numberstring | null
items[].task_numberstring | null
items[].task_urlstring | null
items[].account_email_domainstring | null
items[].created_atstring
totalinteger
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

idrequiredstringThe instance's id or subdomain.

Response 200

idstring
subdomainstring | null
urlstring | null
statestring
releasestring | null
is_testboolean
companystring
flowstring
order_numberstring | null
task_numberstring | null
task_urlstring | null
account_email_domainstring | null
created_atstring
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.