debian-mirror-gitlab/doc/api/statistics.md
2022-04-04 11:22:00 +05:30

921 B

stage group info
Manage Authentication and Authorization To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments

Application statistics API (FREE SELF)

Get current application statistics

List the current statistics of the GitLab instance. You have to be an administrator in order to perform this action.

NOTE: These statistics are approximate.

GET /application/statistics
curl --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/application/statistics"

Example response:

{
   "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"
}