Closed Bug 993172 Opened 10 years ago Closed 10 years ago

Add app serializer and API endpoints for Tarako Marketplace

Categories

(Marketplace Graveyard :: API, defect, P1)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED
2014-04-15

People

(Reporter: chuck, Assigned: mat)

References

Details

(Whiteboard: [qa-])

The Tarako Marketplace will require new search and app detail endpoints, using a new serializer only returning the necessary fields. This should be based on the Fireplace serializer, but we should add a few fields:

- `popularity` - https://github.com/mozilla/zamboni/blob/master/mkt/webapps/models.py#L1774
- `categories` - a list of category IDs for the app should be sufficient for this.

We should also modify the previews to return the new thumbnail size, and we should also remove any fields that will not be necessary for the final UX (TBD). I will update this bug as that becomes clearer.

P1 because Tarako.
New thumbnail size will be automatic and transparent for everyone - That's bug 993133 (even desktop is using 100x150 for its thumbnails atm)

To move faster on this the first iteration will add those 2 fields to fireplace endpoint, I'll create new views/serializers later as necessary.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 2014-04-15
FYI we already expose "categories" as a list of slugs.
https://github.com/mozilla/zamboni/pull/1924 add popularity using the installed count as suggested by chuck. However, correct me if I'm wrong, but that count is not going to be incremented when someone using tarako installs an app, since we are completely anonymous in Tarako ? Also, I'm not sure it's a good thing to expose that number, which some app developers might want to keep private ?
Fixed https://github.com/mozilla/zamboni/commit/1e008624b2272a74bd18666b9f9712c71344a6ab
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.