How to load a resource and its linked resources in one call
REST Resources
Standard Query Parameters in URIs (expand) |
REST Resources
Title Expansion for Entities |
3.6.3 GET
If a service supports the fields parameter, then a value of @reference, @narrow, or @wide SHOULD... |
Fine-grained
Embedding entities should be avoided |
Conventions on responses
In addition, embedded entities (using _embedded) should be avoided when possible |
Collection GET endpoints
Exceptionally, a collection representation, may embedded representations of the linked resources... |
Use Conventional Query Strings
embed — to expand embedded entities |
Define useful resources |
Allow Optional Embedding of Sub-Resources |
Modify the Content-Type for Embedded Resources |