The download-file command prepares a file for download in a temporary download area and provides its address from which it can be accessed.

JSON Input Data Format
{
    "id": string,
    "name": string,
    "path": string,
    "filename": string,
    "cloudid": string
}
id * Specifies the ID of the bucket.
name * Specifies the name of the bucket.
path * Specifies the path to the folder where the file is located.
filename * Specifies the name of the file to be downloaded.
cloudid * Specifies the {ANYNODE} ID hosting the bucket.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "https://your_nexus_host_or_ip/tmp/V7dcf7bce3-c1ac-4f9c-80e9-7e4904dd1148@contacts.csv"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}