Implement a read-only API for external organizations.
[ ] Expose /api/v1 route as a default external API route.
[ ] All successful API requests will return a JSON object with the corresponding HTTP 200 code.
[ ] All failed API requests will return a JSON object with the corresponding HTTP 4xx or 5xx code. In a body that includes an error message, https://pastebin.com/kCxyNhkH.
[ ] GET /api/v1/cases - returns all cases in the database as an array. Limits to latest 50 entries.
[ ] GET /api/v1/methods - returns all methods in the database as an array. Limits to latest 50 entries.
[ ] GET /api/v1/organizations - returns all organizations in the database as an array. Limits to latest 50 entries.
[ ] Generate an API key for each of the user/organization who wants to access our API
Implement a read-only API for external organizations.
/api/v1
route as a default external API route.GET /api/v1/cases
- returns all cases in the database as an array. Limits to latest 50 entries.GET /api/v1/methods
- returns all methods in the database as an array. Limits to latest 50 entries.GET /api/v1/organizations
- returns all organizations in the database as an array. Limits to latest 50 entries.