#JsonApi is by no means perfect, but at this point I'm pretty certain that anything less in functionality than JSON:API will eventually mean pain and terrible hacks.
Please do learn from good, widely adopted standards instead of trying to be smart.
APIs are *extremely* hard and you *will not* be able to see everything that your app will need.

jsonapi.org/

@MichalBryxi 👏 YES! I wish were more popular. So many of the people who think GraphQL is better than REST assume REST means giant unmanageable balls of JSON hurled across unintuitable URLs.

I also wish Fitbit had publicly released its v2 API that used JSON:API. jeremiahlee.com/posts/json-api

@jeremiahlee Sadly that's the inspiration for my original Toot. People going: "Ah yeah, fetching some data over the wire, that won't be hard, right?", whipping up some endpoint that breaks the minute anyone apart from the author tries to use it.

@MichalBryxi Oof. That's right up there with: "It's GraphQL. The client can just deal with my lack of intentional domain modeling. It's type-safe so my poo doesn't stink."

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml