2 ms·
I'm learning more about Restful API design and was wondering why there is a generic "data" wrapper, "type: bread/group/facts" and generic "attributes" structure
by cube00 4y ago
I'm learning more about Restful API design and was wondering why there is a generic "data" wrapper, "type: bread/group/facts" and generic "attributes" structure rather then just returning a object designed for the specific type of data being described.
- kinduff 4y agoTake a look at the JSON:API specification https://jsonapi.org https://jsonapi.org