Customer Rights TokenShow CRT template details

Show CRT template details

curl -X GET "https://api.5centscdn.com/v2/drm/crt-templates/c3d9a1e4-7b2f-4e6a-9d8c-5f1b0a2e7c34" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "result": "success",
  "uuid": "c3d9a1e4-7b2f-4e6a-9d8c-5f1b0a2e7c34",
  "name": "rental-relative-expiration",
  "description": "Expires 7 days after issuance; playback must finish within 48 hours.",
  "tags": [
    "profile",
    "rental"
  ],
  "template": {
    "profile": {
      "type": "rental",
      "relativeExpiration": "PT168H",
      "playDuration": "PT48H"
    },
    "storeLicense": true
  }
}
GET
/drm/crt-templates/{templateuuid}
GET
Base URLstring

Target server for requests. Edit to use your own host.

API Key (header: X-API-Key)
X-API-Keystring
Required

API key (sent in header)

path
templateuuidstring
Required

Unique identifier (UUID) of the CRT template, as returned by the list and create endpoints.

Format: uuid
Request Preview
Response

Response will appear here after sending the request

Authentication

header
X-API-Keystring
Required

API Key for authentication. Provide your API key in the header.

Path Parameters

templateuuidstring
Required

Unique identifier (UUID) of the CRT template, as returned by the list and create endpoints.

Example:
c3d9a1e4-7b2f-4e6a-9d8c-5f1b0a2e7c34

Responses

resultstring

Operation outcome.

uuidstring

Unique identifier of the CRT template.

namestring

Short name of the template.

descriptionstring

Description of the template.

tagsstring[]

Free-form tags for organizing templates. Omitted when the template has no tags.

templateobject

CRT claim-shape object merged into every CRT signed against this template.