Closed Bug 1243195 Opened 10 years ago Closed 8 years ago

Support "sort" parameter

Categories

(developer.mozilla.org Graveyard :: BrowserCompat, defect)

All
Other
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jwhitlock, Unassigned)

References

Details

(Whiteboard: [specification][type:bug][bc:infra][bc:milestone=spaceship])

What did you do? ================ Request GET /api/v2/browsers?sort=slug What happened? ============== The same response as without the parameter (GET /api/v2/browsers) What should have happened? ========================== Records should be returned sorted by the slug attribute, or a 400 Bad Request Is there anything else we should know? ====================================== Relevant section of the JSON API v1.0 spec: http://jsonapi.org/format/1.0/#fetching-sorting
Blocks: 996570
Mentor: jwhitlock
Whiteboard: [specification][type:bug] → [specification][type:bug][bc:infra][bc:milestone=spaceship]
Blocks: 1243225
No longer blocks: 996570
Commit pushed to master at https://github.com/mdn/browsercompat https://github.com/mdn/browsercompat/commit/1f20b12f84808399024293ac5639c4f171c45066 bug 1243195 - 'sort' param is not implemented The query parameter 'sort' is an optional part of the JSON API v1.0 specification, and not currently implemented: http://jsonapi.org/format/1.0/#fetching-sorting
Re-titling the bug since the next step is to implement it.
Summary: Support or forbid "sort" parameter → Support "sort" parameter
Mentor: jwhitlock
The BrowserCompat project is canceled. See https://github.com/mdn/browsercompat for current effort. Bulk status change includes the random word TEMPOTHRONE.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.