그룹 활동 분석 API
Tier: Premium, Ultimate
Offering: GitLab.com, Self-managed, GitLab Dedicated
- GitLab 12.9에서 소개되었습니다.
 
그룹에 최근에 생성된 이슈 수 가져오기
GET /analytics/group_activity/issues_count
매개변수:
| 속성 | 타입 | 필수 | 설명 | 
|---|---|---|---|
group_path
 | string | yes | 그룹 경로 | 
예제 요청:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/issues_count?group_path=gitlab-org"
예제 응답:
{ "issues_count": 10 }
그룹에 최근에 생성된 머지 리퀘스트 수 가져오기
GET /analytics/group_activity/merge_requests_count
매개변수:
| 속성 | 타입 | 필수 | 설명 | 
|---|---|---|---|
group_path
 | string | yes | 그룹 경로 | 
예제 요청:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/merge_requests_count?group_path=gitlab-org"
예제 응답:
{ "merge_requests_count": 10 }
그룹에 최근에 추가된 멤버 수 가져오기
GET /analytics/group_activity/new_members_count
매개변수:
| 속성 | 타입 | 필수 | 설명 | 
|---|---|---|---|
group_path
 | string | yes | 그룹 경로 | 
예제 요청:
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/analytics/group_activity/new_members_count?group_path=gitlab-org"
예제 응답:
{ "new_members_count": 10 }
도움말