8 ms·
Is there any standard as to how to do some of these thing - API versioning? actions like login/logout? doing a GET on multiple IDs? spinal casing? common respon
by pixie_ 9y ago
Is there any standard as to how to do some of these thing - API versioning? actions like login/logout? doing a GET on multiple IDs? spinal casing? common response object format? application specific error codes?
- quicklyfrozen 9y agoThe spec allows you to describe how you decide to implement these things; it doesn't proscribe any particular API patterns. You can declare types separately from APIs to make your last two items easier.
- mhw 9y agoJSON API covers some of that: http://jsonapi.org http://jsonapi.org