Add JSON support to add-on detail API

RESOLVED FIXED in 2013-03-21

Status

addons.mozilla.org Graveyard
API
P1
normal
RESOLVED FIXED
5 years ago
2 years ago

People

(Reporter: clouserw, Assigned: cvan)

Tracking

unspecified
2013-03-21
Dependency tree / graph

Details

(Reporter)

Description

5 years ago
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. :)
(Reporter)

Updated

5 years ago
Blocks: 848183
(Reporter)

Updated

5 years ago
Priority: -- → P1
(Assignee)

Updated

5 years ago
Assignee: nobody → cvan
Target Milestone: --- → 2013-03-14
(Assignee)

Comment 1

5 years ago
https://github.com/mozilla/zamboni/commit/93e339f
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: 2013-03-14 → 2013-03-21
(Assignee)

Comment 2

5 years ago
https://github.com/mozilla/zamboni/commit/7f8cf7d
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.