Closed
Bug 1148741
Opened 11 years ago
Closed 11 years ago
Mozillians API request for mozilla.ch
Categories
(Participation Infrastructure :: API Requests, task)
Participation Infrastructure
API Requests
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: colin, Assigned: pierros)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150322004013
Steps to reproduce:
* Swiss community site
* Mozilla.ch
* Get all users in the 'Switzerland' group to display their images and possibly names on mozilla.ch
* Justification for needing a "reviewed" API key
* Link to mozilla infrastructure ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=1130862
* Proof of data security, data privacy and legal standards for web applications: Doesn't exist yet, not sure how to go about this.
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
We realized on Saturday that the API actually returns much less information than we'd like - we want to display the users images, and all we'd receive as a community site is the email address and vouched status. Our workaround would be to use the gravatar image based on the email address, but it seems like an ugly solution. We're also not able to link to the mozillians profile or display the name...
Updated•11 years ago
|
Flags: needinfo?(williamr)
Comment 3•11 years ago
|
||
Pierros, can you help with this Mozillians API request? Thanks!
Flags: needinfo?(williamr) → needinfo?(pierros)
| Assignee | ||
Comment 4•11 years ago
|
||
Hello Colin, since you filled this request we have pushed live the APIv2. Can you please review the documentation and make sure that we supply all the info you need?
http://mozillians.readthedocs.org/en/latest/api/apiv2/index.html
If not we can figure out a way to serve you. Thanks!
Flags: needinfo?(pierros)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → pierros
Status: NEW → ASSIGNED
Hi Pierros,
Ah, I wasn't aware v2 was already live - nice!
We'd use one of these calls: /api/v2/users/?api-key=12345&group=switzerland or /api/v2/users/?api-key=12345&country=Switzerland
And we'd like to receive back the photo, is_public, story_link, and url attributes (based on a quick glance).
I just registered the API key, so I guess this bug is to elevate the privileges of that to receive the attributes listed above.
Thanks!
Actually, it was just pointed out to me that I can get these attributes on the user. I'll test/implement soon, but it seems that resolves my issue :)
Comment 7•11 years ago
|
||
Let's close this one then and reopen a more specific one if we should need anything more :)
Thanks for the help everyone!
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•