Bulk receiving of file upload links
Bulk retrieval of upload links for files by their storage IDs. In the request, the method receives a list of file body IDs. In the response, it returns a list of items containing
the file ID, and the link, if it was successfully generated, or the error message text, if an error occurred during generation. The order of structures in the response corresponds with the order of IDs in the request.
The method is used to automatically load data to the storage, for example, from external services.
Request
POST /pub/v1/disk/links/upload
Request body
The resource sent in the request body is Bulk receiving of file upload 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 |
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 upload links |
Model of the response for bulk retrieval of upload links (Bulk receiving of file upload links) |
422 | Model of the response for bulk retrieval of upload links |
Model of the response for bulk retrieval of upload links (Bulk receiving of file upload links) |