Link relation pa:upload-file

Overview

Allows to upload binary aaf file to the platform and then import item by pa:import-asset-command link relation.

HTTP method

PUT

URI template variables

-

Query parameters

-

Request body

A file. This can be an AAF file or a headframe picture file or any other file that us supposed to be processed by the MediaCentral Production Management Connector in a subsequent call.

HTTP response

200 OK

The binary file was uploaded successfully.

Response body

A JSON object with information about the uploaded file. It is needed to import the file using pa:import-asset-command. Properties:

  • name: The file name under which the uploaded file was stored. The file name is assigned by the upload service.

  • downloadLink: An HTTPS download link for the uploaded file.

Example:

{
  "name": "d743-4b80-a416-23e376696b41.dat",
  "downloadLink": "https://cloudux-host/.../d743-4b80-a416-23e376696b41.dat"
}

Available in