Skip to content

Clarify pagination links in relationship object #1251

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 10, 2018

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented Feb 7, 2018

This is a clarification, not a change, so I'm comfortable using MUST here.

I believe this is just a refinement of the pagination section which already contains statements such as:

A server MAY provide links to traverse a paginated data set (“pagination links”).

Pagination links MUST appear in the links object that corresponds to a collection.

In other words, the pagination links clearly correspond to the collection. And for relationship objects, the collection is relationship data, not related resources.

Closes #509

@ethanresnick
Copy link
Member

ethanresnick commented Feb 10, 2018

👍

I'm gonna merge this. I think this addresses #509, though there were also some requests in that issue for us to add more examples, so I'll let you decide whether to close that issue now or add the examples first.

@ethanresnick ethanresnick merged commit da7163d into gh-pages Feb 10, 2018
joananeves added a commit to joananeves/json-api that referenced this pull request Apr 18, 2018
* json-api-gh-pages: (259 commits)
  jsonapi-realizer is a new server side hander, intended to be a sister to jsonapi-serializers (json-api#1267)
  Added DenaliJS to the Node framework list (json-api#1264)
  Added Vox to iOS implementations (json-api#1262)
  Update scala-jsonapi link (json-api#1263)
  added sarala javascript packages to implementations (json-api#1260)
  Add SimpleJSONAPIClient to Ruby implementations (json-api#1257)
  Removed py-jsonapi (json-api#1258)
  Move fast_jsonapi to it\'s proper place in the ruby server list (json-api#1256)
  Clarify pagination links in relationship object (json-api#1251)
  move safrs to server libraries (json-api#1253)
  Add fast_jsonapi to Ruby Lists (json-api#1252)
  JSON API Playground link added to implementations (json-api#1248)
  Add SAFRS to list (json-api#1250)
  Always return "included" where "include" has been requested (json-api#1236)
  ngx-jsonapi added to implementations (json-api#1228)
  PHP library for JSON API + Doctrine
  add @crnk/angular-ngrx implementation
  Add jsonapi-mock to implementations
  Add raml-json-api to implementations
  Clarify pending async process response json-api#1223
  ...
@dgeb dgeb deleted the pagination-clarification branch August 12, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
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