VersionStatus

Get Version Status

get

Retrieve a status of a template version.

Path parameters
VersionIdinteger · int32required

Template Version ID

Responses
curl -L \
  --url '/api/VDI/Template/VersionStatus/{VersionId}'
[
  {
    "id": 1,
    "agentVersion": "text",
    "parentID": 1,
    "status": [
      "0 = NotCreated",
      "1 = Creating",
      "2 = OK",
      "3 = FailedToCreate",
      "4 = Deleting",
      "5 = DeletionPending",
      "6 = DeletingClones",
      "-1 = Unknown"
    ],
    "templateID": 1,
    "versionType": 1
  }
]

Get Version Status List By Template ID

get

Retrieve a list of a template's version statuses.

Path parameters
idinteger · int32required

Template ID

Responses
curl -L \
  --url '/api/VDI/Template/{id}/VersionStatus'
[
  {
    "id": 1,
    "agentVersion": "text",
    "parentID": 1,
    "status": [
      "0 = NotCreated",
      "1 = Creating",
      "2 = OK",
      "3 = FailedToCreate",
      "4 = Deleting",
      "5 = DeletionPending",
      "6 = DeletingClones",
      "-1 = Unknown"
    ],
    "templateID": 1,
    "versionType": 1
  }
]

Was this helpful?