Closed Bug 1138347 Opened 9 years ago Closed 9 years ago

Allow users with registered API keys to access browseable APIv2

Categories

(Participation Infrastructure :: Phonebook, defect)

2015-3.1
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: nemo-yiannis, Assigned: nemo-yiannis)

Details

(Whiteboard: [kb=1677783] )

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).
Assignee: nobody → jgiannelos
Whiteboard: [kb=1677783]
OS: Linux → All
Hardware: x86_64 → All
Status: NEW → ASSIGNED
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
Closed: 9 years ago
Resolution: --- → FIXED
Version: other → next
Status: RESOLVED → VERIFIED
Version: next → 2015-3.1
You need to log in before you can comment on or make changes to this bug.