POST
/
ott
/
files
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/ott/files/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "platform_id": "<string>",
  "file_kind_id": "<string>",
  "asset_id": "<string>"
}'
{
  "file": {
    "id": "<string>",
    "project_id": "<string>",
    "platform_id": "<string>",
    "file_kind_id": "<string>",
    "asset_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

File is a representation of a file that was uploaded by the customer.

project_id
string
required
platform_id
string
required
file_kind_id
string
required
asset_id
string
required

Response

200
application/json
OK
file
object

File is a representation of a file that was uploaded by the customer.