Ir al contenido

/video/v1/playback-restrictions (POST)

POST
/video/v1/playback-restrictions
curl --request POST \
--url https://example.com/video/v1/playback-restrictions \
--header 'Authorization: Basic <credentials>' \
--header 'Content-Type: application/json' \
--data '{ "referrer": { "allowed_domains": [ "example" ], "allow_no_referrer": true }, "user_agent": { "allow_no_user_agent": true, "allow_high_risk_user_agent": true } }'
Media typeapplication/json
Any of:
object
referrer
required
object
allowed_domains
required
Array<string>
<= 10 items
allow_no_referrer
boolean
user_agent
object
allow_no_user_agent
boolean
allow_high_risk_user_agent
boolean

Example generated

{
"referrer": {
"allowed_domains": [
"example"
],
"allow_no_referrer": true
},
"user_agent": {
"allow_no_user_agent": true,
"allow_high_risk_user_agent": true
}
}

Default Response