Last Comment Bug 867848 - Marketplace API search: Allow sorting on multiple parameters at the same time
: Marketplace API search: Allow sorting on multiple parameters at the same time
Status: RESOLVED FIXED
p=2
:
Product: Marketplace
Classification: Server Software
Component: API (show other bugs)
: 1.5
: ARM Gonk (Firefox OS)
: P3 normal (vote)
: 2013-06-27
Assigned To: Allen Short [:ashort]
:
:
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-01 18:31 PDT by Parul Mathur
Modified: 2013-06-26 16:08 PDT (History)
5 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments

Description Parul Mathur 2013-05-01 18:31:27 PDT
Feature Request:
Currently, the Marketplace API allows searching for apps and sorting by a single parameter, e.g.
https://marketplace.firefox.com/api/v1/apps/search/?sort=downloads
http://firefox-marketplace-api.readthedocs.org/en/latest/topics/search.html?highlight=sort (One of ‘downloads’, ‘rating’, ‘price’, ‘created’.)

Can the search query be modified to take on multiple parameters at once?
https://marketplace.firefox.com/api/v1/apps/search/?sort=downloads,created,rating,price
Comment 1 Christopher Van Wiemeersch [:cvan] 2013-05-01 18:32:48 PDT
When you add a query string (`q`) those search parameters become useless though, right?
Comment 2 Allen Short [:ashort] 2013-06-26 16:08:34 PDT
https://github.com/mozilla/zamboni/commit/4c36816

Note You need to log in before you can comment on or make changes to this bug.