mirror of https://github.com/ErsatzTV/ErsatzTV.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
121 lines
3.6 KiB
121 lines
3.6 KiB
{ |
|
"uuid": "49d843b2-cad8-4e26-a7f7-e2081683ee0e", |
|
"lastMigration": 19, |
|
"name": "ErsatzTV (copy)", |
|
"endpointPrefix": "", |
|
"latency": 0, |
|
"port": 8409, |
|
"hostname": "0.0.0.0", |
|
"routes": [ |
|
{ |
|
"uuid": "56cb284d-6911-4695-a8ca-eecffbfcbd57", |
|
"documentation": "get all channels", |
|
"method": "get", |
|
"endpoint": "api/channels", |
|
"responses": [ |
|
{ |
|
"uuid": "4fc6ab6f-6a1b-4084-8bb2-94f00d62840c", |
|
"body": "[\n {{#repeat (faker 'datatype.number' min=1 max=5)}}\n { \n \"id\": {{@index}},\n \"number\": {{faker 'datatype.number' min=1 max=25}},\n \"name\": \"{{faker 'hacker.adjective'}} {{faker 'hacker.noun'}}\",\n \"group\": \"\",\n \"categories\": [],\n \"ffmpegProfile\": \"1080 h264\",\n \"logo\": \"\",\n \"language\": \"{{oneOf (array '' 'eng')}}\",\n \"streamingMode\": \"{{oneOf (array 'HLS Segmenter' 'MPEG-TS')}}\"\n }\n {{/repeat}}\n]", |
|
"latency": 0, |
|
"statusCode": 200, |
|
"label": "", |
|
"headers": [], |
|
"filePath": "", |
|
"sendFileAsBody": false, |
|
"rules": [], |
|
"rulesOperator": "OR", |
|
"disableTemplating": false, |
|
"fallbackTo404": false |
|
} |
|
], |
|
"enabled": true, |
|
"randomResponse": false, |
|
"sequentialResponse": false |
|
}, |
|
{ |
|
"uuid": "a87f888a-2038-495e-9f89-2ae32b854004", |
|
"documentation": "get all ffmpeg profiles", |
|
"method": "get", |
|
"endpoint": "api/ffmpeg/profiles", |
|
"responses": [ |
|
{ |
|
"uuid": "2f42cd38-2591-475f-a4bf-e5fb3455a8b3", |
|
"body": "[\n {{#repeat (faker 'datatype.number' min=2 max=3)}}\n { \n \"id\": {{@index}},\n \"name\": \"{{faker 'hacker.adjective'}} {{faker 'hacker.noun'}}\",\n \"resolution\": \"{{oneOf (array '1920x1080' '1280x720' '720x480')}}\",\n \"video\": \"{{oneOf (array 'hevc' 'h264')}}{{oneOf (array ' / nvenc' ' / qsv' ' / vaapi' '')}}\",\n \"audio\": \"{{oneOf (array 'aac' 'ac3')}}\"\n }\n {{/repeat}}\n]", |
|
"latency": 0, |
|
"statusCode": 200, |
|
"label": "", |
|
"headers": [], |
|
"filePath": "", |
|
"sendFileAsBody": false, |
|
"rules": [], |
|
"rulesOperator": "OR", |
|
"disableTemplating": false, |
|
"fallbackTo404": false |
|
} |
|
], |
|
"enabled": true, |
|
"randomResponse": false, |
|
"sequentialResponse": false |
|
}, |
|
{ |
|
"uuid": "83dcafd5-74f6-4e5e-b9ae-3435a1541e8b", |
|
"documentation": "", |
|
"method": "get", |
|
"endpoint": "api/version", |
|
"responses": [ |
|
{ |
|
"uuid": "73ae76ef-09db-472a-8db8-10a90d4c3664", |
|
"body": "develop", |
|
"latency": 0, |
|
"statusCode": 200, |
|
"label": "", |
|
"headers": [], |
|
"filePath": "", |
|
"sendFileAsBody": false, |
|
"rules": [], |
|
"rulesOperator": "OR", |
|
"disableTemplating": false, |
|
"fallbackTo404": false |
|
} |
|
], |
|
"enabled": true, |
|
"randomResponse": false, |
|
"sequentialResponse": false |
|
} |
|
], |
|
"proxyMode": false, |
|
"proxyHost": "", |
|
"proxyRemovePrefix": false, |
|
"tlsOptions": { |
|
"enabled": false, |
|
"type": "CERT", |
|
"pfxPath": "", |
|
"certPath": "", |
|
"keyPath": "", |
|
"caPath": "", |
|
"passphrase": "" |
|
}, |
|
"cors": true, |
|
"headers": [ |
|
{ |
|
"key": "Content-Type", |
|
"value": "application/json" |
|
}, |
|
{ |
|
"key": "Access-Control-Allow-Origin", |
|
"value": "*" |
|
} |
|
], |
|
"proxyReqHeaders": [ |
|
{ |
|
"key": "", |
|
"value": "" |
|
} |
|
], |
|
"proxyResHeaders": [ |
|
{ |
|
"key": "", |
|
"value": "" |
|
} |
|
] |
|
} |