Link Relation Types
Links express a relation between the resource they appear on (the link context), and the link target. The link relation type (RFC8288 Sec 3.3) determines the kind of relation between the link context and the link target.
Next to the standard link relation types, which are to be interpreted with their standardized meaning, ContentGrid defines following extension link relation types:
| Link relation type | Description |
|---|---|
https://contentgrid.cloud/rels/contentgrid/relation |
Refers to a ContentGrid relation of the entity-item. The link’s name attribute is the relation name |
https://contentgrid.cloud/rels/contentgrid/content |
Refers to the binary content of a content attribute. The link’s name attribute is the content attribute name |
https://contentgrid.cloud/rels/contentgrid/entity |
Refers to a ContentGrid entity (from a root resource entities-root and profile-root). The link’s name attribute is the entity name |
CURIEs
CURIEs (Compact URIs) are a shorthand notation for extension link relation types.
They are used as defined in the HAL specification. The curies link relation provides expansion templates.
Before comparing a link relation, a CURIE must be expanded into the full URI.