Closed Bug 1116786 Opened 9 years ago Closed 9 years ago

Add trending sort option to search API

Categories

(Marketplace Graveyard :: API, defect, P3)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

VERIFIED FIXED
2015-01-13

People

(Reporter: robhudson, Assigned: robhudson)

References

Details

One ES has trending in it (bug 1116342) let's add this to the API.
Priority: -- → P3
https://github.com/mozilla/zamboni/commit/1a99f8d 

To verify will require testing the API since this isn't yet exposed in the UI.

* Test that the search API allows to sort by 'trending'
* Test that the top 5 or 10 apps returned when sorting by trending are actually trending -- meaning, their install stats are up in the past week vs the prior weeks 2-4.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-01-13
Verified in FF37(Win7) in marketplace-dev.allizom.org

I have performed the following request:
GET https://marketplace-dev.allizom.org/api/v2/fireplace/search?sort=trending
After that I have analyzed the stats of the returned apps. 

apps:
LingQ: http://screencast.com/t/oLQnt03ahYou
Do you speak ... ? http://screencast.com/t/8hdd0JgZSA
Yohoho! http://screencast.com/t/jtwx1wEX
KanaFire: http://screencast.com/t/bmTBiuBRUmGj
BzDeck: http://screencast.com/t/WumIKs0c

So all the apps in the returned list have a growth in installs in the last week.
Anything else we should check regarding this issue?
Flags: needinfo?(robhudson.mozbugs)
(In reply to Madalin Cotetiu from comment #2)
> So all the apps in the returned list have a growth in installs in the last
> week.
> Anything else we should check regarding this issue?

This is perfect. Thanks!
Flags: needinfo?(robhudson.mozbugs)
Closing this bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.