{ "opencollection": "1.0.0", "info": { "name": "7shifts Availability Locations API", "version": "2.0" }, "items": [ { "info": { "name": "Locations", "type": "folder" }, "items": [ { "info": { "name": "List Locations", "type": "http" }, "http": { "method": "GET", "url": "https://api.7shifts.com/v2/company/:company_id/locations", "headers": [ { "name": "x-api-version", "value": "" } ], "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Company identifier." }, { "name": "cursor", "value": "", "type": "query", "description": "Pagination cursor for the next or previous page." }, { "name": "limit", "value": "", "type": "query", "description": "Results per page (1-500, default 100; 20 for some collections)." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List Locations" }, { "info": { "name": "Create Location", "type": "http" }, "http": { "method": "POST", "url": "https://api.7shifts.com/v2/company/:company_id/locations", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Company identifier." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create Location" }, { "info": { "name": "Retrieve Location", "type": "http" }, "http": { "method": "GET", "url": "https://api.7shifts.com/v2/company/:company_id/locations/:location_id", "params": [ { "name": "company_id", "value": "", "type": "path", "description": "Company identifier." }, { "name": "location_id", "value": "", "type": "path", "description": "Location identifier." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Retrieve Location" } ] } ], "bundled": true }