API: Support paging in the admin orgs list API (#26932)

* Add page/limit to org search

* Update docs

* Fix test per PR feedback
This commit is contained in:
Benjamin Blattberg
2020-08-12 02:59:07 -05:00
committed by GitHub
parent 214c1078aa
commit 3403db190d
3 changed files with 44 additions and 3 deletions

View File

@ -325,7 +325,7 @@ Content-Type: application/json
Content-Type: application/json
```
### Get Users in Organization
`GET /api/orgs/:orgId/users`
@ -339,6 +339,8 @@ Content-Type: application/json
Accept: application/json
Content-Type: application/json
```
Note: The api will only work when you pass the admin name and password
to the request HTTP URL, like http://admin:admin@localhost:3000/api/orgs/1/users
**Example Response**: