Closed
Bug 894456
Opened 12 years ago
Closed 12 years ago
API consumers should be able to create collections
Categories
(Marketplace Graveyard :: API, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
2013-08-06
People
(Reporter: chuck, Assigned: chuck)
References
Details
(Whiteboard: [qa+] p=1)
API consumers should be able to create collections.
This endpoint should be protected by the Apps:Collections permission created in bug 894425.
Assignee | ||
Updated•12 years ago
|
Updated•12 years ago
|
Priority: -- → P2
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → charmston
Assignee | ||
Comment 1•12 years ago
|
||
Landed here: https://github.com/mozilla/zamboni/commit/c54a2ca023076285156cba818e571ff2e5933dfa
STR:
1) Add a user to the Marketplace Publishers group.
2) Generate API credentials using /developers/api/
3) Using the credentials generated in step 2, attempt to create a collection as documented here: http://firefox-marketplace-api.readthedocs.org/en/latest/topics/rocketfuel.html#post--api-v1-rocketfuel-collections-
4) A successful attempt will return a JSON response with the data of the submitted data with a 201 HTTP status code.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [qa+]
Assignee | ||
Updated•12 years ago
|
Whiteboard: [qa+] → [qa+] p=1
Target Milestone: --- → 2013-08-08
Comment 2•12 years ago
|
||
Flue API endpoint @ /api/v1/rocketfuel/collections/
https://github.com/mozilla/flue/commit/8498d80
Comment 3•11 years ago
|
||
verified fixed at [14:27:11.636] POST https://marketplace-dev.allizom.org/api/v1/rocketfuel/collections/?_user=blahblah&collection_type=1&description=collection+description&lang=en-US&name=collection+name&pro=ca35506e.32.1®ion=us [HTTP/1.1 201 CREATED 442ms]
[14:38:14.666] POST https://marketplace-dev.allizom.org/api/v1/rocketfuel/collections/?_user=blahblah&author=%E2%88%9A%E2%88%9A%E2%88%9A%E2%88%9A&carrier=2&collection_type=0&description=%E2%88%9A%E2%88%9A%E2%88%9A&lang=en-US&name=%E2%88%9A%E2%88%9A%E2%88%9A&pro=ca35506e.32.1®ion=us [HTTP/1.1 201 CREATED 479ms]
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•