Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Not sure it's an answer for your question. For simple api, I tend to organize something slightly based on json-api. I just add a success field to ease and open the door for discriminated unions. An example of responses would be in the lines of:
Talking about statuses, I recently spent some time doing this: https://belgattitude.github.io/http-exception | https://github.com/belgattitude/http-exception . Was quite fun and hope it can be useful in the wild.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.