Skip to content

Commit 5a1be64

Browse files
committed
Merge pull request #920 from json-api/clarify-relationship-self
Clarify relationship self link
2 parents 8d31ebd + 136f37a commit 5a1be64

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_format/1.0/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ A "relationship object" **MUST** contain at least one of the following:
252252
* `self`: a link for the relationship itself (a "relationship link"). This
253253
link allows the client to directly manipulate the relationship. For example,
254254
it would allow a client to remove an `author` from an `article` without
255-
deleting the `people` resource itself.
255+
deleting the `people` resource itself. When fetched successfully, this link
256+
returns the [linkage][resource linkage] for the related resources as its
257+
primary data. (See [Fetching Relationships](#fetching-relationships).)
256258
* `related`: a [related resource link]
257259
* `data`: [resource linkage]
258260
* `meta`: a [meta object][meta] that contains non-standard meta-information about the

_format/1.1/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,9 @@ A "relationship object" **MUST** contain at least one of the following:
252252
* `self`: a link for the relationship itself (a "relationship link"). This
253253
link allows the client to directly manipulate the relationship. For example,
254254
it would allow a client to remove an `author` from an `article` without
255-
deleting the `people` resource itself.
255+
deleting the `people` resource itself. When fetched successfully, this link
256+
returns the [linkage][resource linkage] for the related resources as its
257+
primary data. (See [Fetching Relationships](#fetching-relationships).)
256258
* `related`: a [related resource link]
257259
* `data`: [resource linkage]
258260
* `meta`: a [meta object][meta] that contains non-standard meta-information about the

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy