Closed
Bug 1184542
Opened 10 years ago
Closed 10 years ago
Enable browsable api
Categories
(Tree Management :: Treeherder: API, defect)
Tree Management
Treeherder: API
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mdoglio, Assigned: mdoglio)
Details
Attachments
(1 file)
It would be very useful to enable the html api renderer to provide a better ux when consuming the api with a browser
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8634736 -
Flags: review?(emorley)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mdoglio
Updated•10 years ago
|
Attachment #8634736 -
Flags: review?(emorley) → review+
Comment 2•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/54075f99bf42b0801a6129ac9de9d533b7125d90
Bug 1184542 - enable browsable api
I enabled the api html rendered so that if you fetch one of the endpoints using your browser
(i.e. with a 'Accept: text/html' header) it will return the right content type.
The default renderer is still the json one though, so it should be back-compatible.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 3•10 years ago
|
||
When I visit https://treeherder.mozilla.org/api/repository/ I see json, not the browsable API. Any ideas why?
Comment 4•10 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•