This repository was archived by the owner on Jul 11, 2020. It is now read-only.
Description Need to look at this and create issues for each:
https://github.com/interagent/http-api-design
Foundations
Requests
Responses
Artifacts
From this list here are the identified todos:
I know ~~~request ID and~~~ pagination (ranges) definitely for 1.0.0
Examine how to implement: Etags, Caching (plugin), Rate Limiting (plugin) mechanisms
For "Use consistent path formats" -- we could add a mechanism for "actions"
Patch Rails to allow dashes in routes, converting them to underscores in controller lookup.
Return full resource in update and delete actions; ensure ActiveResource doesn't complain
Consider adding created_at, updated_at as default read_only attributes
Support non-id dereferencing for convenience, for example /zones/ewr1.json:
class ZoneController < APIController
find_by :code , :uuid
end
Nest foreign key relations should be investigated.
Consider adding id, url to structured errors; url points back to auto-generated doc in the API
Reactions are currently unavailable
Need to look at this and create issues for each:
https://github.com/interagent/http-api-design
From this list here are the identified todos:
I know ~~~request ID and~~~ pagination (ranges) definitely for 1.0.0
Examine how to implement: Etags, Caching (plugin), Rate Limiting (plugin) mechanisms
For "Use consistent path formats" -- we could add a mechanism for "actions"
Patch Rails to allow dashes in routes, converting them to underscores in controller lookup.
Return full resource in
updateanddeleteactions; ensureActiveResourcedoesn't complainConsider adding
created_at,updated_atas defaultread_onlyattributesSupport non-id dereferencing for convenience, for example
/zones/ewr1.json:Nest foreign key relations should be investigated.
Consider adding id, url to structured errors; url points back to auto-generated doc in the API