this is the git repository for the GRT continuation project

Skip to content

Group Activity Analytics API (PREMIUM ALL)

Introduced in GitLab 12.9.

Get count of recently created issues for group

GET /analytics/group_activity/issues_count

Parameters:

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 }

Get count of recently created merge requests for group

GET /analytics/group_activity/merge_requests_count

Parameters:

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 }

Get count of members recently added to group

GET /analytics/group_activity/new_members_count

Parameters:

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 }