It would be very useful to enable the html api renderer to provide a better ux when consuming the api with a browser
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.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
When I visit https://treeherder.mozilla.org/api/repository/ I see json, not the browsable API. Any ideas why?
You need to log in before you can comment on or make changes to this bug.