Bulk retrieval of download links for files based on their storage IDs. The request accepts a list of file body IDs. The response includes a list of items containing the file ID
and the download link, if it was successfully generated, or an error message, if an error occurred during generation. The order of structures in the response corresponds to the order of IDs in the request.
The method is intended for obtaining a package of download links for files based on their IDs.

Request

POST /pub/v1/disk/links/download

Request body

The resource sent in the request body is  Bulk retrieval of file download links — Request. It contains the following writable properties:

{
    "hashesList": [
        "uuid"
    ]
}

Properties

Name Type Description Additional
hashesList[] array of uuid

List of IDs of the downloaded file bodies
in the following format: ["ef15ff99-763f-4337-be9b-632af8a26e9d","5c018be7-6590-4d3a-9864-bc7f96cfe682", ...]

Authorization

This request requires the use of one of following authorisation methods: API key

Response

The following HTTP status codes may be returned:

Status code Description Resource
200 OK

Model of the response for bulk retrieval of download links

Model of the response for bulk retrieval of download links (Bulk retrieval of file download links)
422

Model of the response for bulk retrieval of download links

Model of the response for bulk retrieval of download links (Bulk retrieval of file download links)