8000 Ordering of primary data by hhware · Pull Request #473 · json-api/json-api · GitHub
[go: up one dir, main page]

Skip to content

Ordering of primary data #473

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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions format/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,13 @@ The above example should return the newest articles first. Any articles
created on the same date will then be sorted by their title in ascending
alphabetical order.

If sorting is supported by the server and requested by the client via
query parameter `sort`, the server **MUST** return elements of the
top-level `data` array of the response ordered according to the criteria
specified.
The server **MAY** apply default sorting rules to top-level `data`
if request parameter `sort` is not specified.

### Pagination <a href="#fetching-pagination" id="fetching-pagination" class="headerlink"></a>

A server **MAY** choose to limit the number of resources returned in a response
Expand Down
0