1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Updated get team members doc

This commit is contained in:
Radmacher 2021-11-10 17:13:51 +01:00
parent 4137bdb098
commit 3ff2cf172f
2 changed files with 4 additions and 4 deletions

View file

@ -535,10 +535,10 @@ App::get('/v1/teams/:teamId/memberships')
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
->label('sdk.response.model', Response::MODEL_MEMBERSHIP_LIST)
->param('teamId', '', new UID(), 'The unique team ID.')
->param('search', '', new Text(256), 'Search term to filter your list results. Max length: 256 chars.', true)
->param('limit', 25, new Range(0, 100), 'Results limit value. By default will return maximum 25 results. Maximum of 100 results allowed per request.', true)
->param('search', '', new Text(256), 'Search term to filter your results. Max length: 256 chars.', true)
->param('limit', 25, new Range(0, 100), 'Limit how many results will be returned. By default will return a maximum of 25 results. Maximum of 100 results allowed per request.', true)
->param('offset', 0, new Range(0, 2000), 'Results offset. The default value is 0. Use this param to manage pagination.', true)
->param('orderType', 'ASC', new WhiteList(['ASC', 'DESC'], true), 'Order result by ASC or DESC order.', true)
->param('orderType', 'ASC', new WhiteList(['ASC', 'DESC'], true), 'Order results by ASC or DESC order.', true)
->inject('response')
->inject('projectDB')
->action(function ($teamId, $search, $limit, $offset, $orderType, $response, $projectDB) {

View file

@ -1 +1 @@
Get a team members by the team unique ID. All team members have read access for this list of resources.
Lists a teams members using the team's unique ID. All team members have read access to this endpoint.