The download of a content has to be done in two steps: 1. create a delivery authorization associated to the content to be downloaded - (HTTP GET) * command details 1. download the content - (HTTP GET). Not needed if the previous command performs a redirection (parameter redirect=true in the previous command). * command details
The first command creates a delivery authorization valid for a max number of retries (maxRetries parameter) and with a time to live (ttlInSeconds parameter). The create delivery authorization can be done ONLY by the owner of the content. This command might perform a redirection (redirect parameter) with the download URL. In this case it is not needed to call the download command (step nr. 2) because the download will be automatically activated by the redirection.
The download command will work ONLY if it refers a valid authorization.