Group activity analytics API
- Tier: Premium, Ultimate
- Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated
Use this API to retrieve information about group activities. For more information, see group activity analytics.
Retrieve count of recently created issues for a group
Retrieves the count of recently created issues for a specified group.
GET /analytics/group_activity/issues_countParameters:
| Attribute | Type | Required | Description |
|---|---|---|---|
group_path | string | yes | Group path |
Example request:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/issues_count?group_path=gitlab-org"Example response:
{ "issues_count": 10 }Retrieve count of recently created merge requests for a group
Retrieves the count of recently created merge requests for a specified group.
GET /analytics/group_activity/merge_requests_countParameters:
| Attribute | Type | Required | Description |
|---|---|---|---|
group_path | string | yes | Group path |
Example request:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/merge_requests_count?group_path=gitlab-org"Example response:
{ "merge_requests_count": 10 }Retrieve count of members recently added to a group
Retrieves the count of members recently added to a specified group.
GET /analytics/group_activity/new_members_countParameters:
| Attribute | Type | Required | Description |
|---|---|---|---|
group_path | string | yes | Group path |
Example request:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/new_members_count?group_path=gitlab-org"Example response:
{ "new_members_count": 10 }