List Pending
Released in v6.7 DescriptionChecks if new updates are available.
Request
URLURL
https://{api_host}/rest/appliance/update/pending
Query Parameters
Query Parameters
string
url
Optional
specific URL to check at
If unset then URL is taken from the policy settings
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id Example
b00db39f948d13ea1e59b4d6fce56389
Response
Response
Response BodyResponse Body
200 OK returns
UpdatePendingListResponseBody
of type application/json
List of the update summaries
{
"value": [
{
"description": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": [
{
"key": "key1",
"value": {
"d": 0,
"dt": "string",
"format": "enum",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
]
},
"name": "string",
"priority": "enum",
"reboot_required": false,
"release_date": "string",
"severity": "enum",
"size": 0,
"update_type": "enum",
"version": "string"
}
]
}
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/appliance/update/pending?source_type=string&
Errors
403
com.vmware.vapi.std.errors.unauthorized : session is not authorized to perform this operation
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.
Pending Operations
get
get
post
post
post
post