This extension allows you to alter or create the contents of the relationships
of a resource with a single operation. In order to control how the
relationships, and their relationships in turn, are affected by the request
this extension reserves the keyword subrequest
inside of the meta
of any
relationship
. The contents of the subrequest
property MUST be a
request object.
The request object MUST NOT be present if the relationship item is not being altered or created via POST
, PUT
or PATCH
.