GET
/
streaming
/
assets
/
v1
/
{asset_id}
/
url
curl --request GET \
  --url https://api.mottostreaming.com/streaming/assets/v1/{asset_id}/url \
  --header 'Authorization: Bearer <token>'
{
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

asset_id
string
required

Query Parameters

sign
boolean

It indicates to create a signed URL for downloading or reading an asset. When the asset access control is ACCESS_CONTROL_MODE_SIGNEDREAD, this field is required.

sign_option.ttl
string

Represents a a duration between -315,576,000,000s and 315,576,000,000s (around 10000 years). Precision is in nanoseconds. 1 nanosecond is represented as 0.000000001s

Response

200
application/json
OK
url
string

The signed or public URL for downloading or reading an asset.