应用程序统计数据 API (BASIC SELF)

获取当前应用程序统计数据

列出极狐GitLab 示例的统计数据,您必须是管理员才能进行该操作。

note这些统计数据是近似的。
GET /application/statistics
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/statistics"

响应示例:

{
   "forks": "10",
   "issues": "76",
   "merge_requests": "27",
   "notes": "954",
   "snippets": "50",
   "ssh_keys": "10",
   "milestones": "40",
   "users": "50",
   "groups": "10",
   "projects": "20",
   "active_users": "50"
}