{ "opencollection": "1.0.0", "info": { "name": "Shyft Customer Authentication > Email Customer > Availabilities > user_role API", "version": "1.0.0" }, "items": [ { "info": { "name": "Customer > Availabilities > user_role", "type": "folder" }, "items": [ { "info": { "name": "[availabilities] update your availability", "type": "http" }, "http": { "method": "POST", "url": "http://{{host}}/api/customer/user_role/locations/:location_id/availabilities", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "location_id", "value": "", "type": "path" } ] }, "docs": "[availabilities] update your availability" }, { "info": { "name": "[availabilities] update your availability", "type": "http" }, "http": { "method": "PUT", "url": "http://{{host}}/api/customer/user_role/locations/:location_id/availabilities/225", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "response[put_return_resource]", "value": "true", "type": "query" }, { "name": "location_id", "value": "", "type": "path" } ] }, "docs": "[availabilities] update your availability" }, { "info": { "name": "[availabilities] get all availabilities from a location", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/locations/:location_id/availabilities/all", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "location_id", "value": "", "type": "path" } ] }, "docs": "[availabilities] get all availabilities from a location" }, { "info": { "name": "[availabilities] get your availabilities from a location", "type": "http" }, "http": { "method": "GET", "url": "http://{{host}}/api/customer/user_role/locations/:location_id/availabilities/mine", "headers": [ { "name": "Session-Uukey", "value": "{{session_uukey}}" }, { "name": "Content-Type", "value": "application/json" } ], "params": [ { "name": "location_id", "value": "", "type": "path" } ] }, "docs": "[availabilities] get your availabilities from a location" } ] } ], "bundled": true }