Skip to main content

RightsCheckResponseData

checkedAtdate-timerequired

When the server evaluated this decision.

allowedinteger[]required

Clip IDs you may play.

denied object[]required

Clip IDs you may not play, each annotated with a reason and detail. IDs that are not found appear here with reason NOT_FOUND.

  • Array [
  • idintegerrequired

    Clip ID that was denied.

    reasonRightsReason (string)required

    Machine-readable reason a clip was denied. Switch on this rather than parsing the human-readable detail string. Unknown values should be treated as UNKNOWN.

    Possible values: [GEO, LICENSING, ACCOUNT, EXPIRED, NOT_FOUND, UNKNOWN]

    detailstringrequired

    Human-readable description of the denial. Use reason for programmatic handling.

  • ]
  • RightsCheckResponseData
    {
    "checkedAt": "2024-07-29T15:51:28.071Z",
    "allowed": [
    0
    ],
    "denied": [
    {
    "id": 0,
    "reason": "GEO",
    "detail": "string"
    }
    ]
    }