Closed
Bug 950229
Opened 11 years ago
Closed 11 years ago
Add account parameters to /users endpoint in Mozillians.org API
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
2013-12-19
People
(Reporter: hoosteeno, Assigned: sancus)
References
Details
(Whiteboard: [kb=1215710] )
We should allow people to search the API for users by any of their account names. I can imagine this being implemented in either of the below ways:
1) A parameter for each account:
/users/?github=hoosteeno -> me
/users/?bmo=giorgos -> giorgos
2) A parameter for any account:
/users/?has_account_like=hoosteeno -> me
/users/?has_account_like=matt -> a list of people who have "matt" in github, bmo, skype, or any other account
Does one of those seem better/more feasible?
I think partial text search would be optimal, but not absolutely essential.
This will be a very powerful feature for identity reconciliation and will be immediately useful to efforts to integrate our contributor systems.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → sancus
Depends on: 916806
Summary: Add parameters to /users endpoint in Mozillians.org API → Add account parameters to /users endpoint in Mozillians.org API
Assignee | ||
Updated•11 years ago
|
Whiteboard: [kb=1215710]
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Account parameters work as advertised:
GET: https://mozillians.allizom.org/api/v1/users/?app_name=something&app_key=something_else&accounts=hoosteeno
200 OK:
{
"meta": {
"limit": 20,
"next": null,
"offset": 0,
"previous": null,
"total_count": 1
},
<snip>
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•11 years ago
|
Target Milestone: --- → 2013-12-19
Comment 3•11 years ago
|
||
Mike, BMO accounts can be accessed via the API by using the syntax described in comment 0.
Tasos or Nemo, could you add this to the API documentation? The Bugzilla team is exploring how to use the BMO account information. Thanks!
Flags: needinfo?(tasos)
Flags: needinfo?(jgiannelos)
Comment 4•11 years ago
|
||
Hey William!
There is a bug for that here:
https://bugzilla.mozilla.org/show_bug.cgi?id=987423
Flags: needinfo?(tasos)
Updated•11 years ago
|
Flags: needinfo?(jgiannelos)
You need to log in
before you can comment on or make changes to this bug.
Description
•