getMembersByQueryParam method

  1. @deprecated
Future<UserArray> getMembersByQueryParam({
  1. required String name,
  2. int? start,
  3. int? limit,
  4. bool? shouldReturnTotalSize,
  5. List<String>? expand,
})

Returns the users that are members of a group.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

Implementation

@deprecated
Future<UserArray> getMembersByQueryParam(
    {required String name,
    int? start,
    int? limit,
    bool? shouldReturnTotalSize,
    List<String>? expand}) async {
  return UserArray.fromJson(await _client.send(
    'get',
    'wiki/rest/api/group/member',
    queryParameters: {
      'name': name,
      if (start != null) 'start': '$start',
      if (limit != null) 'limit': '$limit',
      if (shouldReturnTotalSize != null)
        'shouldReturnTotalSize': '$shouldReturnTotalSize',
      if (expand != null) 'expand': expand.map((e) => e).join(','),
    },
  ));
}