List Item Updatesession File
DescriptionLists all files in the library item associated with the update 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/updatesession/file
Query Parameters
Query Parameters
string
update_session_id
Required
Identifier of the update session.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.UpdateSession.
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
LibraryItemUpdatesessionFileListResponseBody
of type application/json
The list of the files in the library item associated with the update session. This list may be empty if the caller has removed all the files as part of this session (in which case completing the update session will result in an empty library item).
{
"value": [
{
"bytes_transferred": 0,
"checksum_info": {
"algorithm": "enum",
"checksum": "string"
},
"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"
}
}
]
},
"keep_in_storage": false,
"name": "string",
"size": 0,
"source_endpoint": {
"ssl_certificate_thumbprint": "string",
"uri": "string"
},
"source_type": "enum",
"status": "enum",
"upload_endpoint": {
"ssl_certificate_thumbprint": "string",
"uri": "string"
}
}
]
}
array of
LibraryItemUpdatesessionFileInfo
value
Optional
The list of the files in the library item associated with the update session. This list may be empty if the caller has removed all the files as part of this session (in which case completing the update session will result in an empty library item).
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/rest/com/vmware/content/library/item/updatesession/file?update_session_id=string
Errors
default
'Default' means this response is used for all HTTP codes that are not covered individually for this operation.