Files
Vineless/devices/sg_sample_cdrm_pr.json
Ingan121 88f743d5a5 * Allow putting device names dynamically in the SuperGeneric API URL field
* Prevent importing invalid device files
* Misc panel UI changes
  * Allow removing site profiles without actually visiting the page
  * Fix special characters in the back of the site scope label going to the front of the label
* Fix encoding and formatting of the exported log JSON files
* Remove unused code
2025-08-26 20:09:35 +09:00

54 lines
1.6 KiB
JSON

{
"type": "PLAYREADY",
"device_name": "public",
"host": "https://cdrm-project.com/remotecdm/playready",
"name_override": "SuperGeneric Sample for CDRM-Project PlayReady",
"security_level": 3000,
"sg_api_conf": {
"headers": {
"Content-Type": "application/json"
},
"generateChallenge": [
{
"method": "GET",
"url": "/{device_name}/open",
"sessionIdResKeyName": "data.session_id"
},
{
"method": "POST",
"url": "/{device_name}/get_license_challenge",
"bodyObj": {
"privacy_mode": true
},
"sessionIdKeyName": "session_id",
"psshKeyName": "init_data",
"challengeKeyName": "data.challenge",
"encodeB64": true,
"bundleInKeyMessage": true
}
],
"parseLicense": [
{
"method": "POST",
"url": "/{device_name}/parse_license",
"sessionIdKeyName": "session_id",
"licenseKeyName": "license_message"
},
{
"method": "POST",
"url": "/{device_name}/get_keys",
"sessionIdKeyName": "session_id",
"contentKeysKeyName": "data.keys"
},
{
"method": "GET",
"url": "/{device_name}/close/%s"
}
],
"keyParseRules": {
"keyKeyName": "key",
"kidKeyName": "key_id"
},
"messageKey": "message"
}
}