Closed
Bug 894585
Opened 12 years ago
Closed 12 years ago
API consumers should be able to edit collections
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-08-13
People
(Reporter: chuck, Assigned: chuck)
References
Details
(Whiteboard: p=1 [qa+])
API consumers should be able to edit collections.
This endpoint should be protected by the Apps:Collections permission created in bug 894425.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → charmston
Comment 1•12 years ago
|
||
https://github.com/mozilla/flue/commit/1fb207d
Added Flue API endpoint:
curl -X PATCH 'http://localhost:5000/api/v1/rocketfuel/collections/<collection_slug>/' -d '...'
Assignee | ||
Comment 2•12 years ago
|
||
Landed here: https://github.com/mozilla/zamboni/commit/50fb51d2eac6a42a330279792ad81655914a6134
Docs: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/rocketfuel.html#update
STR:
1) Create a collection, using the steps here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/rocketfuel.html#post--api-v1-rocketfuel-collections-
2) Attempt to edit the name and description of the collection, using the steps here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/rocketfuel.html#update
3) In a successful reproduction, the response from step 2 should return the new name and description from the request in step 2.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: p=1 [qa+]
Target Milestone: --- → 2013-08-13
Assignee | ||
Comment 3•12 years ago
|
||
(Note: all requests will need to authenticate using steps 1-2 in the STR from bug 894456, comment 1)
You need to log in
before you can comment on or make changes to this bug.
Description
•