Relationship
A to-one or to-many relationship from one resource object to others.
Declaration
object RelationshipProperties
| Name | Type | Description |
|---|---|---|
href | string | A URL subpath that fetches the relationship resources as the primary object. This member is only present in responses. |
next | string | Link to the next page of resources in the relationship. Contains the |
data Required | [Resource] | One or more destination objects. |
meta | Relationship.Meta | Contextual information about the relationship for the request or response. |
Discussion
A to-one relationship contains a single object in the data array.
The rules that apply to the members of this object are:
Must contain one of these members:
href,data, ormeta.If a to-many relationship, may contain the
nextmember.