Closed Bug 1243205 Opened 8 years ago Closed 7 years ago

Support updates through related links in a v2 API

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 OPTIONS /api/v2/features/200/parent

What happened?
==============
"PATCH" is not included in the allowed HTTP methods

What should have happened?
==========================
PATCH should be allowed, to update the parent feature.

Is there anything else we should know?
======================================
The JSON API v1.0 spec says "when a GET request returns a single resource object as primary data, the same request URL can be used for updates." in http://jsonapi.org/format/1.0/#crud-updating

This should include related links returning a single object, like accessing the parent of a feature, or a browser from a version.
Blocks: 996570
Mentor: jwhitlock
Whiteboard: [specification][type:bug] → [specification][type:bug][bc:infra][bc:milestone=spaceship]
Blocks: 1243225
No longer blocks: 996570
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: 7 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.