Files
Vineless/devices/sg_sample_prproxy_api.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

50 lines
1.6 KiB
JSON

{
"type": "PLAYREADY",
"security_level": "3000",
"host": "http://127.0.0.1:5000",
"secret": "Ingan121_80c7b890f55b5755faa12fc005b8b333",
"device_name": "NVIDIA",
"name_override": "SuperGeneric Sample for PlayReadyProxy-API",
"sg_api_conf": {
"headers": {
"Content-Type": "application/json",
"X-API-KEY": "{secret}"
},
"generateChallenge": [
{
"method": "GET",
"url": "/api/playready/{device_name}/open",
"sessionIdResKeyName": "responseData.session_id"
},
{
"method": "POST",
"url": "/api/playready/{device_name}/get_challenge",
"bodyObj": {
"privacy_mode": true
},
"sessionIdKeyName": "session_id",
"psshKeyName": "pssh",
"challengeKeyName": "responseData.challenge_b64",
"bundleInKeyMessage": true
}
],
"parseLicense": [
{
"method": "POST",
"url": "/api/playready/{device_name}/get_keys",
"sessionIdKeyName": "session_id",
"licenseKeyName": "license_b64",
"contentKeysKeyName": "responseData.keys"
},
{
"method": "GET",
"url": "/api/playready/{device_name}/close/%s"
}
],
"keyParseRules": {
"keyKeyName": "key",
"kidKeyName": "key_id"
},
"messageKey": "responseData.message"
}
}