It would be nice to be able to see the data of related objects (like, res.partner details when looking at a sale.order object) instead of just the <link> tag by specifying a depth parameter somewhere in the request, for example in the Accept header, as described at http://www.stereoplex.com/blog/mobile-api-design-thinking-beyond-rest. A resource queried with depth=1 could then look like this:
It would be nice to be able to see the data of related objects (like,
res.partner
details when looking at asale.order
object) instead of just the<link>
tag by specifying adepth
parameter somewhere in the request, for example in theAccept
header, as described at http://www.stereoplex.com/blog/mobile-api-design-thinking-beyond-rest. A resource queried withdepth=1
could then look like this: