{ "opencollection": "1.0.0", "info": { "name": "Adafruit IO REST Activities Permissions API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "X-AIO-Key", "value": "{{X-AIO-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Permissions", "type": "folder" }, "items": [ { "info": { "name": "All permissions for current user and type", "type": "http" }, "http": { "method": "GET", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" } ] }, "docs": "The Permissions endpoint returns information about the user's permissions.\n" }, { "info": { "name": "Create a new Permission", "type": "http" }, "http": { "method": "POST", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Permission" }, { "info": { "name": "Returns Permission based on ID", "type": "http" }, "http": { "method": "GET", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl/:id", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Returns Permission based on ID" }, { "info": { "name": "Replace an existing Permission", "type": "http" }, "http": { "method": "PUT", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl/:id", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replace an existing Permission" }, { "info": { "name": "Update properties of an existing Permission", "type": "http" }, "http": { "method": "PATCH", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl/:id", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update properties of an existing Permission" }, { "info": { "name": "Delete an existing Permission", "type": "http" }, "http": { "method": "DELETE", "url": "https://io.adafruit.com/api/v2/:username/:type/:type_id/acl/:id", "params": [ { "name": "username", "value": "", "type": "path", "description": "a valid username string" }, { "name": "type", "value": "", "type": "path" }, { "name": "type_id", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Delete an existing Permission" } ] } ], "bundled": true }