{ "opencollection": "1.0.0", "info": { "name": "Absentify Absences Departments API", "version": "1.0.0" }, "items": [ { "info": { "name": "Departments", "type": "folder" }, "items": [ { "info": { "name": "Absentify Get All Departments", "type": "http" }, "http": { "method": "GET", "url": "https://api.absentify.com/api/v1/departments", "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Get all departments" }, { "info": { "name": "Absentify Create a Department", "type": "http" }, "http": { "method": "POST", "url": "https://api.absentify.com/api/v1/departments", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Create a department" }, { "info": { "name": "Absentify Read a Department by Id", "type": "http" }, "http": { "method": "GET", "url": "https://api.absentify.com/api/v1/departments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Read a department by id" }, { "info": { "name": "Absentify Update a Department", "type": "http" }, "http": { "method": "PUT", "url": "https://api.absentify.com/api/v1/departments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Update a department" }, { "info": { "name": "Absentify Delete a Department", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.absentify.com/api/v1/departments/:id", "params": [ { "name": "id", "value": "", "type": "path" } ], "auth": { "type": "apikey", "key": "X-API-KEY", "value": "{{X-API-KEY}}", "placement": "header" } }, "docs": "Delete a department" } ] } ], "bundled": true }