diff options
Diffstat (limited to 'doc/api/group_activity_analytics.md')
-rw-r--r-- | doc/api/group_activity_analytics.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/api/group_activity_analytics.md b/doc/api/group_activity_analytics.md index 23dcb46dbc5..a211097e30b 100644 --- a/doc/api/group_activity_analytics.md +++ b/doc/api/group_activity_analytics.md @@ -49,3 +49,27 @@ Example response: ```json { "merge_requests_count": 10 } ``` + +## Get count of members recently added to group + +```plaintext +GET /analytics/group_activity/new_members_count +``` + +Parameters: + +| Attribute | Type | Required | Description | +| --------- | ---- | -------- | ----------- | +| `group_path` | string | yes | Group path | + +Example request: + +```shell +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: + +```json +{ "new_members_count": 10 } +``` |