I’m pretty sure you just described GraphQL.
All errors are 200 unless they are HTTP errors. The backend error is under the errors key in the json.
All post requests.
All errors are 200 unless they are HTTP errors. The backend error is under the errors key in the json.
All post requests.
Trying to merge the application API and HTTP concepts (like HTTP methods and HTTP response codes) seems to mostly just be a REST thing. Most other APIs treat HTTP as a transport layer in my experience.