summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
authorShreya <a.shreya202@gmail.com>2022-10-29 00:54:57 +0530
committerNejc Habjan <nejc.habjan@siemens.com>2022-11-01 09:59:05 +0100
commit6fcf3b68be095e614b969f5922ad8a67978cd4db (patch)
treee567469a20428d43c9e1d5a6f95f5da19ecb6cb3 /docs/gl_objects
parentbd82d745c8ea9ff6ff078a4c961a2d6e64a2f63c (diff)
downloadgitlab-6fcf3b68be095e614b969f5922ad8a67978cd4db.tar.gz
feat(api): add application statistics
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/statistics.rst21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/gl_objects/statistics.rst b/docs/gl_objects/statistics.rst
new file mode 100644
index 0000000..d1d72eb
--- /dev/null
+++ b/docs/gl_objects/statistics.rst
@@ -0,0 +1,21 @@
+##########
+Statistics
+##########
+
+Reference
+---------
+
+* v4 API:
+
+ + :class:`gitlab.v4.objects.ApplicationStatistics`
+ + :class:`gitlab.v4.objects.ApplicationStatisticsManager`
+ + :attr:`gitlab.Gitlab.statistics`
+
+* GitLab API: https://docs.gitlab.com/ee/api/statistics.html
+
+Examples
+--------
+
+Get the statistics::
+
+ statistics = gl.statistics.get()