Skip to content

Commit da7163d

Browse files
dgebethanresnick
authored andcommitted
Clarify pagination links in relationship object (#1251)
* Clarify pagination links in relationship object Closes #509
1 parent 0342e46 commit da7163d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

_format/1.0/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ A "relationship object" **MUST** contain at least one of the following:
262262
relationship.
263263

264264
A relationship object that represents a to-many relationship **MAY** also contain
265-
[pagination] links under the `links` member, as described below.
265+
[pagination] links under the `links` member, as described below. Any
266+
[pagination] links in a relationship object **MUST** paginate the relationship
267+
data, not the related resources.
266268

267269
> Note: See [fields] and [member names] for more restrictions on this container.
268270

_format/1.1/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,9 @@ A "relationship object" **MUST** contain at least one of the following:
262262
relationship.
263263

264264
A relationship object that represents a to-many relationship **MAY** also contain
265-
[pagination] links under the `links` member, as described below.
265+
[pagination] links under the `links` member, as described below. Any
266+
[pagination] links in a relationship object **MUST** paginate the relationship
267+
data, not the related resources.
266268

267269
> Note: See [fields] and [member names] for more restrictions on this container.
268270
@@ -510,7 +512,7 @@ Each member of a links object is a "link". A link **MUST** be represented as
510512
either:
511513

512514
* a string containing the link's URL.
513-
* <a id="document-links-link-object"></a>an object ("link object") which can
515+
* <a id="document-links-link-object"></a>an object ("link object") which can
514516
contain the following members:
515517
* `href`: a string containing the link's URL.
516518
* `meta`: a meta object containing 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