JSON Response format for the REST API

Is Invenio follows a standard JSON response format such as: https://jsonapi.org?

We often developing new API endpoint and we need to decide for a standard output format.


We’re currently not following any official standard. JSONAPI could be a candidate for this though. This discussion is going to come in the InvenioRDM project pretty soon.

Do you know of other potential standards similar to JSON API?

There’s some few odd things in the JSON API spec, but I definitely see the usefulness in adopting an existing standard and stick to it.

I did not know well this domain, but JSONAPI seems used by Google and pretty complete.

It seems also close to what is already implemented to Invenio.

Let me know if you make a decision.