Closed Bug 412477 Opened 17 years ago Closed 15 years ago

add REST api with JSON output

Categories

(Socorro :: General, task, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Unassigned)

References

(Blocks 1 open bug)

Details

A REST api with JSON output would be awesome.  It would be really cool to be able to get data about a submitted crash report (among other things) in JSON.  We could use this in bug 411490 to show the status of a crash and the signature in the browser.
In-product stuff needs use to scale and cluster this thing a lot better.
Target Milestone: --- → 0.9
I think that at least initially this would be more useful to allow an extension to extend about:crashes to display useful info. I'm not sure whether that sort of extra info would need to make it to the default product but it could be very helpful for developers and nightly testers.
Blocks: 442519
Target Milestone: 0.9 → ---
Priority: -- → P3
Target Milestone: --- → 0.8
in Bug 484032, we're moving the dump table data into file system storage.  At the same time we're wrapping the dump into a json format and including all the metadata that is stored in the reports table.  Our current proposal, however, leaves the dump data itself as just a big block of text rather than breaking it up into json-ified fields.  Would that json format work for this idea?
Sounds fine, yeah.
Per Bug 484032 you can request 
http://crash-stats.mozilla.com/dumps/<UUID>.jsonz
if this is a 404, then you need to request
http://crash-stats.mozilla.com/report/index/<UUID>
this will queue up processing the report as a priority job...

We can add more JSON support. Please file a new bug with details.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Depends on: 502598
Blocks: 531295
Component: Socorro → General
Product: Webtools → Socorro
You need to log in before you can comment on or make changes to this bug.