{ "opencollection": "1.0.0", "info": { "name": "pCloudy Device Cloud Device Booking & Session API", "version": "v2" }, "request": { "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "items": [ { "info": { "name": "Device Booking & Session", "type": "folder" }, "items": [ { "info": { "name": "Clean_Devices(V2)", "type": "http" }, "http": { "method": "POST", "url": "https://{cloud}.pcloudy.com/api/v2/clean-device", "headers": [ { "name": "token", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "docs": "Cleans the reserved device by clearing residual app data and returning it toward a fresh state between tests. Used to remove leftover data, accounts, and test artifacts so each run starts from a known baseline." }, { "info": { "name": "Release Device(V2)", "type": "http" }, "http": { "method": "POST", "url": "https://{cloud}.pcloudy.com/api/v2/release-device", "headers": [ { "name": "token", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "docs": "Releases the device reserved through the V2 flow, ending the session and returning the device to the shared pool. Always call it during teardown to free the device and stop session usage." }, { "info": { "name": "Start Device Services", "type": "http" }, "http": { "method": "POST", "url": "https://{cloud}.pcloudy.com/api/startdeviceservices", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "token", "value": "{{token}}", "placement": "header" } }, "docs": "Starts the backend device services required for the booked session (for example streaming, logging, and automation bridges) so the device is ready for interaction. Call it after booking a device and before sending automation or interaction commands." } ] } ], "bundled": true }