POST
/
streaming
/
uploads
/
v1
curl --request POST \
  --url https://api.mottostreaming.com/streaming/uploads/v1 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "project_id": "<string>",
  "region": "REGION_UNSPECIFIED",
  "object_name": "<string>",
  "content_type": "<string>",
  "ttl": "<string>",
  "size_bytes": "<string>",
  "access_control_mode": "ACCESS_CONTROL_MODE_UNSPECIFIED",
  "resumable": true
}'
{
  "upload_session": {
    "id": "<string>",
    "project_id": "<string>",
    "reserved_asset_id": "<string>",
    "object_name": "<string>",
    "content_type": "<string>",
    "size_bytes": "<string>",
    "access_control_mode": "ACCESS_CONTROL_MODE_UNSPECIFIED",
    "expire_time": "2023-11-07T05:31:56Z",
    "create_time": "2023-11-07T05:31:56Z"
  },
  "signed_url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

OK

The response is of type object.