{ "opencollection": "1.0.0", "info": { "name": "Samsung SmartThings Apps Virtual Devices API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Virtual Devices", "type": "folder" }, "items": [ { "info": { "name": "List Virtual Devices", "type": "http" }, "http": { "method": "GET", "url": "https://api.smartthings.com/v1/virtualdevices" }, "docs": "Lists virtual devices. Modeled from the public docs and SDK." }, { "info": { "name": "Create a Virtual Device", "type": "http" }, "http": { "method": "POST", "url": "https://api.smartthings.com/v1/virtualdevices", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Virtual Device" }, { "info": { "name": "Create Virtual Device Events", "type": "http" }, "http": { "method": "POST", "url": "https://api.smartthings.com/v1/virtualdevices/:deviceId/events", "params": [ { "name": "deviceId", "value": "", "type": "path", "description": "The identifier of the device." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Pushes state events to a virtual device to simulate device behavior." } ] } ], "bundled": true }