Closed
Bug 1128716
Opened 9 years ago
Closed 7 years ago
deprecate json/atom forms of dashboard page
Categories
(Input Graveyard :: Dashboard, defect)
Input Graveyard
Dashboard
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: willkg, Unassigned, Mentored)
Details
(Whiteboard: u=user c=dashboard p= s=input.2015q4)
You can specify a different format for output via querystring args when requesting the front page dashboard. Some people probably use this as a feed. It supports JSON and Atom forms. A while back, we created an Input API that allows users to retrieve data from Input in JSON. This API is better than the dashboard page. We should deprecate the old ways in favor of the new ones. This bug covers: 1. change the JSON/Atom handling code so that it returns an error telling the user to use the API 2. delete the related tests 3. write up a bug to work on in, say, 6 months to delete that code altogether
Reporter | ||
Comment 1•9 years ago
|
||
This probably requires some knowledge of Django and Python. The code for the JSON/Atom formats starts here: https://github.com/mozilla/fjord/blob/14e7ac48a09d7b3a58ec18559e57f7d828e36d98/fjord/analytics/views.py#L294 You have to follow that through to the various generate_* functions. Marking this as a mentored bug. If you're interested in working on it, please read through our "Join this project" guide [1], complete the list of things you need to do before contributing and then add a comment to this bug asking to have it assigned to you. If you have any questions, please ask in the bug comments, on the mailing list or in the #input channel on irc.mozilla.org. [1] http://fjord.readthedocs.org/en/latest/welcome.html
Reporter | ||
Updated•9 years ago
|
Mentor: willkg
Reporter | ||
Comment 2•9 years ago
|
||
We can toss some statsd measuring it right now and figure out if any of these are being used. If not, we can yank them immediately. For the ones that are getting used, we should have the code return an error with a link to the docs for migration. Tossing it in this quarter because I want to get rid of more dead code to reduce maintenance.
Whiteboard: u=user c=dashboard p= s= → u=user c=dashboard p= s=input.2015q2
Reporter | ||
Updated•9 years ago
|
Whiteboard: u=user c=dashboard p= s=input.2015q2 → u=user c=dashboard p= s=input.2015q3
Reporter | ||
Comment 3•9 years ago
|
||
New quarter!
Whiteboard: u=user c=dashboard p= s=input.2015q3 → u=user c=dashboard p= s=input.2015q4
Comment 4•7 years ago
|
||
The Input service has been decommissioned (see bug 1315316) and has been replaced by a redirect to an external vendor (SurveyGizmo). I'm bulk WONTFIXing Input bugs that do not appear to be relevant anymore.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•7 years ago
|
Product: Input → Input Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•