{ "opencollection": "1.0.0", "info": { "name": "Samsung SmartThings Apps Rooms API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Rooms", "type": "folder" }, "items": [ { "info": { "name": "List Rooms", "type": "http" }, "http": { "method": "GET", "url": "https://api.smartthings.com/v1/locations/:locationId/rooms", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The identifier of the location." } ] }, "docs": "List Rooms" }, { "info": { "name": "Create a Room", "type": "http" }, "http": { "method": "POST", "url": "https://api.smartthings.com/v1/locations/:locationId/rooms", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The identifier of the location." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a Room" }, { "info": { "name": "Get a Room", "type": "http" }, "http": { "method": "GET", "url": "https://api.smartthings.com/v1/locations/:locationId/rooms/:roomId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The identifier of the location." }, { "name": "roomId", "value": "", "type": "path" } ] }, "docs": "Get a Room" }, { "info": { "name": "Update a Room", "type": "http" }, "http": { "method": "PUT", "url": "https://api.smartthings.com/v1/locations/:locationId/rooms/:roomId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The identifier of the location." }, { "name": "roomId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Room" }, { "info": { "name": "Delete a Room", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.smartthings.com/v1/locations/:locationId/rooms/:roomId", "params": [ { "name": "locationId", "value": "", "type": "path", "description": "The identifier of the location." }, { "name": "roomId", "value": "", "type": "path" } ] }, "docs": "Delete a Room" } ] } ], "bundled": true }