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:

Parameter

Type

Description

Example

Default value

Parameter

Type

Description

Example

Default value

filterText

String

Optional 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.

group

empty

paginate

boolean

Whether to paginate the results. If set to true, the endpoint will return a paginated list of groups.

true

false

startPage

Integer

The starting page number for pagination. This is used in combination with page and endPage to determine which portion of the results to return.

1

1

page

Integer

The current page to be returned for pagination.

2

1

endPage

Integer

The 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" }

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.