{ "opencollection": "1.0.0", "info": { "name": "Lattice HRIS Competencies Departments API", "version": "v2" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Departments", "type": "folder" }, "items": [ { "info": { "name": "List departments", "type": "http" }, "http": { "method": "GET", "url": "https://api.latticehq.com/v2/departments", "params": [ { "name": "limit", "value": "", "type": "query", "description": "Maximum number of items to return per page" }, { "name": "startingAfter", "value": "", "type": "query", "description": "Cursor for fetching the next page of results" } ] }, "docs": "Returns a paginated list of all departments in Lattice." }, { "info": { "name": "Get department by ID", "type": "http" }, "http": { "method": "GET", "url": "https://api.latticehq.com/v2/department/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The department identifier" } ] }, "docs": "Returns a department with the given id. If cannot find department, returns a 404." } ] } ], "bundled": true }