At the moment in order to access the browseable API v2 that Django Rest Framework provides you need to either manually add a GET parameter or tamper the HTTP headers. It makes sense to allow authenticated users to access the browseable API if there is an API key assigned to them without needing to manually edit the HTTP request. For users with multiple API keys we can use the one with the lowest privacy_level (the higher the privacy level, the lower the access they have in Mozillians.org data).
Commits pushed to master at https://github.com/mozilla/mozillians https://github.com/mozilla/mozillians/commit/5235830a38aa9efad4ff10425ea804a202126b25 [Fix bug 1138347] Allow users to access browseable APIv2. https://github.com/mozilla/mozillians/commit/09c9d7dd6d7a6feffec67fb9438d1c5a14dab7fc Merge pull request #1173 from johngian/fix-browseable-api [Fix bug 1138347] Allow users to access browseable APIv2.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.