/
delegation/my-groups

delegation/my-groups

Method: GET

Produces: application/json

Description:

This endpoint returns a list of groups associated with the logged-in user. It can apply filtering based on group names and paginate the results.

Query Parameters:

ParameterTypeDescriptionExampleDefault value
filterTextStringOptional filter text to search for specific groups by name and it returns if the group name contains this value. If the value is undefined or null, it will return all groups.groupempty
paginatebooleanWhether to paginate the results. If set to true, the endpoint will return a paginated list of groups.truefalse
startPageIntegerThe starting page number for pagination. This is used in combination with page and endPage to determine which portion of the results to return.11
pageIntegerThe current page to be returned for pagination.21
endPageIntegerThe last page to be displayed for pagination.5-1 (defaults to last page)

Request


Sample request

curl -u admin:admin -X GET  -H "Content-Type: application/json" http://your.server.url/rest/wittified/delegated-groups/1.0/delegation/my-groups?filterText=&paginate=true&startPage=1&page=1&endPage=-1


Sample response


{
"delegatedGroups": [
"confluence-administrators",
"confluence-users"
],
"groupsInfo": {
"confluence-administrators": {
"groupName": "confluence-administrators",
"userCount": 3,
"isFavorite": false,
"isNew": null,
"appName": "confluence"
},
"confluence-users": {
"groupName": "confluence-users",
"userCount": 3976,
"isFavorite": false,
"isNew": null,
"appName": "confluence"
}
},
"pageEntity": {
"startPage": 1,
"endPage": 1,
"totalSize": 4,
"page": 1
},
"viewPreference": "default",
"total": 4,
"appName": "confluence"
}

Related content