Closed
Bug 781840
Opened 12 years ago
Closed 12 years ago
Enable filtering for the 'council' and 'mentor' fields on the api
Categories
(Mozilla Reps Graveyard :: reps.mozilla.org, task)
Mozilla Reps Graveyard
reps.mozilla.org
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lmcardle, Unassigned)
Details
When doing either: https://reps.mozilla.org/api/v1/rep/?limit=0&profile__council=true or https://reps.mozilla.org/api/v1/rep/?limit=0&profile__mentor=true I get an error about the field not allowing filtering. Could this be enabled, so remobot can display a list of mentors and council members. Thanks, Leo
Comment 1•12 years ago
|
||
Hi Leo, You can filter mentor, council and reps using the 'group' parameter. E.g. https://reps.mozilla.org/api/v1/rep/?limit=0&group=mentor https://reps.mozilla.org/api/v1/rep/?limit=0&group=council https://reps.mozilla.org/api/v1/rep/?limit=0&group=rep Thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 2•12 years ago
|
||
Aaaaah, didn't spot that... probably should have done a bit more investigating before filing the bug ;)
Updated•4 years ago
|
Product: Mozilla Reps → Mozilla Reps Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•