Get Started
Studio API
- Introduction
- Streaming
- Live Streams
- Simulcasts
- Clips
- Videos
- Video Protection
- Configurations
- Assets
- CMS
- OTT
- Monetization
- IAM
- Integration
- Analytics
Content Delivery API
Deep dive
Video Protection
Get ruleset
GetVideoProtection
Returns information about the video_protection.
GET
/
streaming
/
video_protection
/
v1
/
rulesets
/
{video_protection_ruleset_id}
Copy
curl --request GET \
--url https://api.mottostreaming.com/streaming/video_protection/v1/rulesets/{video_protection_ruleset_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"video_protection_ruleset": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"geo_restrictions_disallow": {
"country_codes": [
"<string>"
]
},
"geo_restrictions_allow": {
"country_codes": [
"<string>"
]
},
"disallow_vpn_usage": true,
"disallow_hotlinking": true,
"allowed_domains": [
"<string>"
],
"require_authentication": true,
"disabled": true,
"require_entitlement": true,
"geo_applicability_exempt": {
"country_codes": [
"<string>"
]
},
"geo_applicability_apply": {
"country_codes": [
"<string>"
]
},
"applies_to_all": true,
"target": {
"entity_ids": [
"<string>"
],
"event_ids": [
"<string>"
],
"creative_work_ids": [
"<string>"
],
"content_start_time": "2023-11-07T05:31:56Z",
"content_end_time": "2023-11-07T05:31:56Z"
},
"priority": "<string>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/json
OK
The response is of type object
.
Copy
curl --request GET \
--url https://api.mottostreaming.com/streaming/video_protection/v1/rulesets/{video_protection_ruleset_id} \
--header 'Authorization: Bearer <token>'
Copy
{
"video_protection_ruleset": {
"id": "<string>",
"project_id": "<string>",
"name": "<string>",
"geo_restrictions_disallow": {
"country_codes": [
"<string>"
]
},
"geo_restrictions_allow": {
"country_codes": [
"<string>"
]
},
"disallow_vpn_usage": true,
"disallow_hotlinking": true,
"allowed_domains": [
"<string>"
],
"require_authentication": true,
"disabled": true,
"require_entitlement": true,
"geo_applicability_exempt": {
"country_codes": [
"<string>"
]
},
"geo_applicability_apply": {
"country_codes": [
"<string>"
]
},
"applies_to_all": true,
"target": {
"entity_ids": [
"<string>"
],
"event_ids": [
"<string>"
],
"creative_work_ids": [
"<string>"
],
"content_start_time": "2023-11-07T05:31:56Z",
"content_end_time": "2023-11-07T05:31:56Z"
},
"priority": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.