I'm shopping around for response formats for my JSON API. They all suck.

What API have you used that's had the most sensibly formatted responses?

I'm leaning towards Slack's + some of JSON:API

  • 2
    M A K E
    Y O U R
    O W N
  • 0
    Make your own and what makes sense for you
  • 0
    JSON is JSON, no two ways around it really.
  • 0
    Just use XML.
  • 1
    I think there exist some schemas in sacred Depths of Intenetes, but nobody's gonna care, especially if you provide openAPI description for your service.
  • 0
    Please use https://jsonapi.org/

    Future me thanks you and everyone who hates these god damn fucking non standardized crap.

    You don’t need to be exact, but the basic idea should suffice
Add Comment