Closed Bug 848179 Opened 11 years ago Closed 11 years ago

Add JSON support to add-on detail API

Categories

(addons.mozilla.org Graveyard :: API, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-03-21

People

(Reporter: clouserw, Assigned: cvan)

References

Details

The Personas Plus add-on uses it's API to retrieve add-on data in a JSON format (which we've been wanting in our API forever anyway).  We already have an existing stub, eg. https://services.addons.mozilla.org/en-US/firefox/api/1.5/addon/15131?format=json

This bug is concerned specifically with personas (although the other pages could come along for the ride).  The Personas need to reflect the following fields as a minimum:

>        { 
>          "id":"33", 
>          "name":"Groovy Blue", 
>          "accentcolor":"#6699ff", 
>          "textcolor":"#07188d", 
>          "header":"3\/3\/33\/tbox-groovy_blue.jpg", 
>          "footer":"3\/3\/33\/stbar-groovy_blue.jpg", 
>          "category":"Abstract", 
>          "description":null, 
>          "author":"Lee.Tom", 
>          "username":"Lee.Tom", 
>          "detailURL":"https:\/\/www.getpersonas.com\/persona\/33", 
>          "headerURL":"http:\/\/www.getpersonas.com\/static\/3\/3\/33\/tbox-groovy_blue.jpg", 
>          "footerURL":"http:\/\/www.getpersonas.com\/static\/3\/3\/33\/stbar-groovy_blue.jpg", 
>          "previewURL":"http:\/\/www.getpersonas.com\/static\/3\/3\/33\/preview.jpg", 
>          "iconURL":"http:\/\/www.getpersonas.com\/static\/3\/3\/33\/preview_small.jpg", 
>          "dataurl":"data:image\/png;base64,\/9j\/4AAQSkZJRgABAQEASABIAAD\/2[....]"
>        } 

URLs should not be getpersonas, obviously. :)
Blocks: 848183
Priority: -- → P1
Assignee: nobody → cvan
Target Milestone: --- → 2013-03-14
https://github.com/mozilla/zamboni/commit/93e339f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: 2013-03-14 → 2013-03-21
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.