Allow users with registered API keys to access browseable APIv2

VERIFIED FIXED

Status

VERIFIED FIXED
4 years ago
4 years ago

People

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

Tracking

2015-3.1

Details

(Whiteboard: [kb=1677783] )

(Assignee)

Description

4 years ago
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)

Updated

4 years ago
Assignee: nobody → jgiannelos
(Assignee)

Updated

4 years ago
Whiteboard: [kb=1677783]
OS: Linux → All
Hardware: x86_64 → All
Status: NEW → ASSIGNED

Comment 1

4 years ago
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.

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 years ago
Version: other → next
(Assignee)

Updated

4 years ago
Status: RESOLVED → VERIFIED
(Assignee)

Updated

4 years ago
Version: next → 2015-3.1
You need to log in before you can comment on or make changes to this bug.