Mozillians/API-Specification/List Users/: Difference between revisions

no edit summary
No edit summary
Line 173: Line 173:
               "country": "",
               "country": "",
               "display_name": "Example Test",
               "display_name": "Example Test",
              "fullname": "Foo Bar",
               "email": "test@example.com",
               "email": "test@example.com",
               "groups":
               "groups":
Line 205: Line 206:
       "country": "",
       "country": "",
       "display_name": "Example Test",
       "display_name": "Example Test",
      "fullname": "Foo Bar",
       "email": "test@example.com",
       "email": "test@example.com",
       "groups":
       "groups":
Line 255: Line 257:
   /api/v1/users/?app_name=foobar&app_key=12345&groups=Staff
   /api/v1/users/?app_name=foobar&app_key=12345&groups=Staff


* Filter by ''last_name'':
* Filter by ''name'':
   /api/v1/users/?app_name=foobar&app_key=12345&last_name=foo
   /api/v1/users/?app_name=foobar&app_key=12345&name=foo
 
* Filter by ''first_name'':
  /api/v1/users/?app_name=foobar&app_key=12345&first_name=bar


* Filters can be combined, e.g. ''python'' and ''brazil'':
* Filters can be combined, e.g. ''python'' and ''brazil'':
   /api/v1/users/?app_name=foobar&app_key=12345&country=brazil&skills=python
   /api/v1/users/?app_name=foobar&app_key=12345&country=brazil&skills=python
Confirmed users
60

edits