Closed Bug 945894 Opened 11 years ago Closed 11 years ago

Please expose supersearch via the API

Categories

(Socorro :: Webapp, task, P1)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: benjamin, Assigned: adrian)

Details

I'd like to get supersearch results in machine-readable form. It seems that would mean exposing it via the API, but I'm also happy to get it by adding a parameter to something like https://crash-stats.mozilla.com/search/?signature=~spvc32&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform so that it becomes https://crash-stats.mozilla.com/search/?signature=~spvc32&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform&output=json If we go the API route, it would be good to have a guide somewhere explaining how to go from a manually-constructed supersearch to the equivalent API call.
I was planning to do add a link to the API URL on the Super Search page, so users could easily generate URLs to work on. We could also add a redirect, like if you add &output=json at the end of the URL, it redirects to the equivalent API call.
Assignee: nobody → adrian
OS: Linux → All
Priority: -- → P2
Hardware: x86_64 → All
Blocks: 832362
No longer blocks: 832362
Q1 goal, bumping to P1.
Priority: P2 → P1
Commit pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/6493522ff9912cc00b09bec77df4725dc085c5e9 Fixes bug 945894 - Exposed SuperSearch in the public API. r=peterbe
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 80
You need to log in before you can comment on or make changes to this bug.