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)
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).
Updated•12 years ago
|
Assignee: nobody → charmston
Whiteboard: p=2
Assignee | ||
Updated•12 years ago
|
Assignee: charmston → robhudson.mozbugs
Target Milestone: --- → 2013-06-06
Assignee | ||
Comment 1•12 years ago
|
||
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
Assignee | ||
Comment 2•12 years ago
|
||
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.
Comment 3•12 years ago
|
||
Blocked on verifying this by bug 879379
You need to log in
before you can comment on or make changes to this bug.
Description
•