{ "opencollection": "1.0.0", "info": { "name": "Smokeball Activity Codes Roles API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Roles", "type": "folder" }, "items": [ { "info": { "name": "Get roles on a matter", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/matters/:matterId/roles", "params": [ { "name": "matterId", "value": "", "type": "path" } ] }, "docs": "Returns associated roles for a specified matter." }, { "info": { "name": "Add role to a matter", "type": "http" }, "http": { "method": "POST", "url": "https://api.smokeball.com/matters/:matterId/roles", "headers": [ { "name": "Version", "value": "" } ], "params": [ { "name": "matterId", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Appends a new role in the specified matter." }, { "info": { "name": "Get role on a matter", "type": "http" }, "http": { "method": "GET", "url": "https://api.smokeball.com/matters/:matterId/roles/:id", "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Returns a role in a specified matter." }, { "info": { "name": "Update role on a matter", "type": "http" }, "http": { "method": "PUT", "url": "https://api.smokeball.com/matters/:matterId/roles/:id", "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates a specified role on a matter." }, { "info": { "name": "Remove role from a matter", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.smokeball.com/matters/:matterId/roles/:id", "headers": [ { "name": "Version", "value": "" } ], "params": [ { "name": "matterId", "value": "", "type": "path" }, { "name": "id", "value": "", "type": "path" } ] }, "docs": "Removes a specified role from a matter." } ] } ], "bundled": true }