Content Library Item DownloadSession list

Content Library Item DownloadSession list

Lists the identifiers of the download sessions created by the calling user. Optionally may filter by library item.

Returns an authorization error if you do not have all of the privileges described as follows:

  • The resource com.vmware.content.library.item.DownloadSession referenced by the parameter libraryItemId requires ContentLibrary.DownloadSession.
Request
URI
GET
https://{api_host}/api/content/library/item/download-session
COPY
Query Parameters
string
library_item_id
Optional

Library item identifier on which to filter results.

If not specified all download session identifiers are listed.

The parameter must be an identifier for the resource type: com.vmware.content.library.item.DownloadSession.


Authentication
This operation uses the following authentication methods.
Responses
200

The list of identifiers of all download sessions created by the calling user.

The response will contain identifiers for the resource type: com.vmware.content.library.item.DownloadSession.

[
    {}
]
array of string
Optional

404

if a library item identifier is given for an item which does not exist.

Returns Vapi Std Errors NotFound of type(s) application/json
This response body class contains all of the following: InlineVapi Std Errors NotFound0
{
    "messages": [
        {
            "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"
        }
    ],
    "data": {},
    "error_type": "string"
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/content/library/item/download-session