{ "opencollection": "1.0.0", "info": { "name": "Samsung SmartThings Apps Rules API", "version": "1.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Rules", "type": "folder" }, "items": [ { "info": { "name": "List Rules", "type": "http" }, "http": { "method": "GET", "url": "https://api.smartthings.com/v1/rules", "params": [ { "name": "locationId", "value": "", "type": "query" } ] }, "docs": "List Rules" }, { "info": { "name": "Create a Rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.smartthings.com/v1/rules", "params": [ { "name": "locationId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a Rule" }, { "info": { "name": "Get a Rule", "type": "http" }, "http": { "method": "GET", "url": "https://api.smartthings.com/v1/rules/:ruleId", "params": [ { "name": "ruleId", "value": "", "type": "path" }, { "name": "locationId", "value": "", "type": "query" } ] }, "docs": "Get a Rule" }, { "info": { "name": "Update a Rule", "type": "http" }, "http": { "method": "PUT", "url": "https://api.smartthings.com/v1/rules/:ruleId", "params": [ { "name": "ruleId", "value": "", "type": "path" }, { "name": "locationId", "value": "", "type": "query" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Rule" }, { "info": { "name": "Delete a Rule", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.smartthings.com/v1/rules/:ruleId", "params": [ { "name": "ruleId", "value": "", "type": "path" }, { "name": "locationId", "value": "", "type": "query" } ] }, "docs": "Delete a Rule" }, { "info": { "name": "Execute a Rule", "type": "http" }, "http": { "method": "POST", "url": "https://api.smartthings.com/v1/rules/:ruleId/execute", "params": [ { "name": "ruleId", "value": "", "type": "path" }, { "name": "locationId", "value": "", "type": "query" } ] }, "docs": "Execute a Rule" } ] } ], "bundled": true }