mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-30 06:50:21 +00:00
130 lines
No EOL
2.7 KiB
JSON
130 lines
No EOL
2.7 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "daa2f31c-1db6-410b-a2ad-c8f4acc01d33",
|
|
"name": "pms",
|
|
"description": "In the PMS collection, we store calls against a local PMS\n\nIt req. some local variables, named PMSAddress and AccessToken",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "Get-Sections",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Accept",
|
|
"value": "application/json",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"key": "X-Plex-Token",
|
|
"value": "{{AccessToken}}",
|
|
"type": "text"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{PMSAddress}}/library/sections/all",
|
|
"host": [
|
|
"{{PMSAddress}}"
|
|
],
|
|
"path": [
|
|
"library",
|
|
"sections",
|
|
"all"
|
|
]
|
|
},
|
|
"description": "Will get a list of sections (Libraries) from a PMS\n\nWhat we need, is the key, type and title"
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "Get-MovieSection",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "Accept",
|
|
"type": "text",
|
|
"value": "application/json"
|
|
},
|
|
{
|
|
"key": "X-Plex-Token",
|
|
"type": "text",
|
|
"value": "{{AccessToken}}"
|
|
}
|
|
],
|
|
"url": {
|
|
"raw": "{{PMSAddress}}/library/sections/{{MovieSection}}/all?type=1&X-Plex-Container-Start=31&X-Plex-Container-Size={{CONTAINERSIZEMOVIES}}",
|
|
"host": [
|
|
"{{PMSAddress}}"
|
|
],
|
|
"path": [
|
|
"library",
|
|
"sections",
|
|
"{{MovieSection}}",
|
|
"all"
|
|
],
|
|
"query": [
|
|
{
|
|
"key": "type",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"key": "X-Plex-Container-Start",
|
|
"value": "31"
|
|
},
|
|
{
|
|
"key": "X-Plex-Container-Size",
|
|
"value": "{{CONTAINERSIZEMOVIES}}"
|
|
}
|
|
]
|
|
},
|
|
"description": "Will get a list of sections (Libraries) from a PMS\n\nWhat we need, is the key, type and title"
|
|
},
|
|
"response": []
|
|
}
|
|
],
|
|
"event": [
|
|
{
|
|
"listen": "prerequest",
|
|
"script": {
|
|
"id": "fe0095c1-f667-415f-bd56-9f081ad198e4",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "83a53476-85dc-43a7-a656-9c273ff0c0d1",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"variable": [
|
|
{
|
|
"id": "e101680f-7df5-4c66-8b17-ab7df3aee299",
|
|
"key": "X-Plex-Client-Identifier",
|
|
"value": "WebTools-NG",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"id": "11c72d02-77f6-4698-afbc-989b4557bc94",
|
|
"key": "MovieSection",
|
|
"value": "4",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"id": "7694f803-748a-428d-b762-e7441becd677",
|
|
"key": "CONTAINERSIZEMOVIES",
|
|
"value": "30",
|
|
"type": "string"
|
|
}
|
|
],
|
|
"protocolProfileBehavior": {}
|
|
} |