News for hackers. Stuff that matters.
Re:Standards.REST: A Collection of HTTP/REST API Standards a... by somada141 on Saturday May 18, 2019 @01:56AM (#19945906)
I'm a little surprised I didn't see the JSON:API spec [1] on there (no affiliation). While by no means a silver bullet my team has adopted it for both internal and public APIs and our clients have been quite happy having a standardised API like that.

In addition it is fairly-well supported by community packages (at least in Pythonland, e.g., marshmallow-jsonapi [2]) so it fit quite nicely in our stack while we could incrementally come up with v2 APIs that implement it.

Lastly, the spec does a semi-decent job, again no silver-bullet, of defining more advanced API features like filtering, sorting, field-selection, etc in a way that brings a lot of the GraphQL perks into REST.

[1] https://jsonapi.org/ [2] https://github.com/marshmallow-code/marshmallow-jsonapi

Re:Standards.REST: A Collection of HTTP/REST API Standards a... by rocketpastsix on Saturday May 18, 2019 @08:28AM (#19947042)
The idea originally was just to show RFC's but I think we can start expanding the project now.
Re:Standards.REST: A Collection of HTTP/REST API Standards a... by somada141 on Saturday May 18, 2019 @08:41AM (#19947081)
Ah sorry didn't realise it was supposed to be limited to RFCs. I suppose JSON:API would fit the `A collection of standards and specifications` title :).