VersionStatus
Retrieve a status of a template version.
Path parameters
VersionIdinteger · int32Required
Template Version ID
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/RDS/Template/VersionStatus/{VersionId} HTTP/1.1
Host:
Accept: */*
[
{
"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
}
]
Retrieve a list of a template's version statuses.
Path parameters
idinteger · int32Required
Template ID
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/RDS/Template/{id}/VersionStatus HTTP/1.1
Host:
Accept: */*
[
{
"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?