Closed
Bug 704206
Opened 14 years ago
Closed 14 years ago
Allow webapp creation through API
Categories
(addons.mozilla.org Graveyard :: API, defect)
addons.mozilla.org Graveyard
API
Tracking
(Not tracked)
RESOLVED
FIXED
6.3.3
People
(Reporter: andy+bugzilla, Assigned: andy+bugzilla)
Details
Currently we create addons through the oAuth api. Let's create webapps through the same API.
Assignee | ||
Comment 1•14 years ago
|
||
Using amo-oauth, https://github.com/andymckay/amo-oauth, you can do this using:
amo = AMOOAuth(domain="apps-preview-dev.allizom.org", port=443, protocol='https')
amo.set_consumer(consumer_key='xxx', consumer_secret='xxx')
amo.create_app({'manifest': 'http://somesite.com/manifest.webapp'})
This will validate the manifest, returning errors if there's a problem with that
and then create the app.
Currently I'm only support get, create. Update isn't very app helpful and delete isn't something we want to do yet. It's a start.
https://github.com/mozilla/zamboni/commit/abe801
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•