Hi,
If that is your full request/sesponse body, then no, it’s not valid JSON API. In JSON API, all data must be under aa top-level data
key (or a meta
key for metadata).
There is a JSON Schema document for the JSON API spec, which (with a few small caveats) can be used to validate whether any JSON document is valid JSON API. Just put your document and that schema into a JSON Schema validator, like this one, and it should tell you if your document is valid.