{ "opencollection": "1.0.0", "info": { "name": "Teachworks Availabilities Locations API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Locations", "type": "folder" }, "items": [ { "info": { "name": "List all Locations", "type": "http" }, "http": { "method": "GET", "url": "https://api.teachworks.com/v1/locations", "params": [ { "name": "page", "value": "", "type": "query", "description": "1-based page number for pagination. Defaults to 1." }, { "name": "per_page", "value": "", "type": "query", "description": "Number of records per page. Defaults to 20, maximum 80." } ] }, "docs": "List all Locations" }, { "info": { "name": "Create a Location", "type": "http" }, "http": { "method": "POST", "url": "https://api.teachworks.com/v1/locations", "body": { "type": "json", "data": "{}" } }, "docs": "Create a Location" }, { "info": { "name": "Retrieve a Location", "type": "http" }, "http": { "method": "GET", "url": "https://api.teachworks.com/v1/locations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the resource." } ] }, "docs": "Retrieve a Location" }, { "info": { "name": "Update a Location", "type": "http" }, "http": { "method": "PUT", "url": "https://api.teachworks.com/v1/locations/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The ID of the resource." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update a Location" } ] } ], "bundled": true }