GET
/
streaming
/
video_protection
/
v1
/
rulesets
curl --request GET \
  --url https://api.mottostreaming.com/streaming/video_protection/v1/rulesets \
  --header 'Authorization: Bearer <token>'
{
  "video_protection_rulesets": [
    {
      "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>"
    }
  ],
  "next_page_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Query Parameters

project_id
string
page_size
integer

Maximum number of records to return

page_token
string

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

filter
string

You can filter the list of video_protections by the following fields:

  • disabled: Whether the ruleset is disabled or not.

Response

200
application/json
OK
video_protection_rulesets
object[]
next_page_token
string

If there are more results than have been returned, then this field is set to a non-empty value. To see the additional results, use that value as page_token in the next call to this method.