This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"swagger":"2.0","info":{"version":"1.0.0","title":"Kakama API documentation","description":"Documentation for the API","termsOfService":"","contact":{"name":""},"license":{"name":"GPL 3.0"}},"tags":[{"name":"staff","description":"Application users and staff being rostered"},{"name":"events","description":"Occuring at venues between specific times"},{"name":"roles","description":"Assigned to users to carry out at events"},{"name":"venues","description":"Places where staff are assigned to events"}],"host":"localhost:3000","basePath":"/","consumes":["application/json"],"produces":["application/json"],"paths":{"/events":{"get":{"description":"Fetches all records","tags":["events"],"parameters":[{"name":"api_key","in":"query","required":true,"type":"string","description":"Authentication token"},{"name":"type","in":"query","required":false,"type":"string","description":"Filter by type. If not specified, returns all approved current and future events","enum":["","past","working","cancelled"]},{"name":"page","in":"q |