Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


The 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.


JSON API covers some of that: http://jsonapi.org




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: