Closed Bug 875009 Opened 12 years ago Closed 12 years ago

[buchets] Featured API should filter apps based on feature profile.

Categories

(Marketplace Graveyard :: API, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-06-06

People

(Reporter: robhudson, Assigned: robhudson)

References

Details

(Whiteboard: p=2)

+++ This bug was initially created as a clone of Bug #S +++ Similar to bug 862454 but for the featured API (which hits database instead of elasticsearch).
Assignee: nobody → charmston
Whiteboard: p=2
Assignee: charmston → robhudson.mozbugs
Target Milestone: --- → 2013-06-06
https://github.com/mozilla/zamboni/commit/a5affcb To verify: Submit an app and set a handful of required features on it, approve it, and mark it as featured in the featured admin tool. Then play with the ?pro= query string to verify you can find it or expect it to be excluded in searches. For example: curl -XGET https://marketplace-dev.allizom.org/api/v1/apps/search/featured/?pro=8a7dd46c.32.1&dev=firefoxos Be sure to include "dev=firefoxos" or "dev=android". We do filter by profiles on desktop or when dev isn't there. Also include "cat=<slug>" in the query string parameters if you've marked it as featured for a specific category. Regions also make a difference here too. I made a way to play with feature profiles here: http://jsfiddle.net/robhudson/9PArz/
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
PS: This is dependent on the "buchets" waffle switch, which is currently (as of Wed afternoon) disabled for push QA testing. We can re-enable it tomorrow.
Blocked on verifying this by bug 879379
You need to log in before you can comment on or make changes to this bug.