Get Item Download Session
DescriptionGets the download session with the specified identifier, including the most up-to-date status information for the session. if you do not have all of the privileges described as follows: - Operation execution requires System.Anonymous.
Request
URLURL
https://{api_host}/rest/com/vmware/content/library/item/download-session/id:{download_session_id}
Parameters
Parameters
string
download_session_id
Required
Identifier of the download session to retrieve.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession.
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
LibraryItemDownloadSessionGetResponseBody
of type application/json
The DownloadSessionModel instance with the given downloadSessionId.
{
"value": {
"client_progress": 0,
"error_message": {
"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"
}
}
]
},
"expiration_time": "string",
"id": "string",
"library_item_content_version": "string",
"library_item_id": "string",
"state": "enum"
}
}
value
Optional
The DownloadSessionModel instance with the given downloadSessionId.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/com/vmware/content/library/item/download-session/id:{download_session_id}
Errors
404
com.vmware.vapi.std.errors.not_found : if no download session with the given downloadSessionId exists.
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.