Content Library Item Downloadsession File list
Lists the information of all the files in the library item associated with the download session.
Returns an authorization error if you do not have all of the privileges described as follows:
- Operation execution requires
System.Anonymous
.
Request
URI
GET
https://{api_host}/api/content/library/item/download-session/{downloadSessionId}/file
COPY
Path Parameters
string
downloadSessionId
Required
Identifier of the download session.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession
.
Responses
200
The list of Content Library Item Downloadsession File Info instances.
[
{
"name": "string",
"size": 0,
"bytes_transferred": 0,
"status": "string",
"download_endpoint": {
"uri": "string",
"ssl_certificate_thumbprint": "string",
"ssl_certificate": "string"
},
"checksum_info": {
"algorithm": "string",
"checksum": "string"
},
"error_message": {
"id": "string",
"default_message": "string",
"args": [
"string"
],
"params": {
"params": {
"s": "string",
"dt": "string",
"i": 0,
"d": "number",
"l": "Vapi Std NestedLocalizableMessage Object",
"format": "string",
"precision": 0
}
},
"localized": "string"
}
}
]
404
if the download session associated with downloadSessionId doesn't exist.
Returns
Vapi Std Errors NotFound
of type(s)
application/json
This response body class contains all of the following:
InlineVapi Std Errors NotFound0
"Vapi Std Errors NotFound Object"
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/content/library/item/download-session/{downloadSessionId}/file