Closed
Bug 903489
Opened 12 years ago
Closed 12 years ago
API consumers should be able to filter and edit Collections by region / category / carrier
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-08-20
People
(Reporter: mat, Assigned: mat)
References
Details
API consumers should be able to edit the region / category / carrier a Collection is attached to. They should also be able to filter by those fields, and we need a fallback in place when we can't find any results for a given filter combination.
| Assignee | ||
Comment 1•12 years ago
|
||
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•12 years ago
|
||
Fixed in https://github.com/mozilla/zamboni/commit/1ea33c1d041782d1692fe477f55671265260f940
STR (on -dev):
0) Like all Collections API bugs, all requests will need to authenticate using steps 1-2 in the STR from bug 894456, comment 1
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 category, region and carrier of the collection, using the steps here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/rocketfuel.html#update . Valid IDs for these 3 fields can be found by making a request to the APIs mentioned here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/site.html
3) In a successful reproduction, the response from step 2 should return the new category/region/carrier ids from the request in step 2.
Note: filtering will be tested in another bug since I noticed some issues with it I'm going to fix.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 2013-08-20
You need to log in
before you can comment on or make changes to this bug.
Description
•