Commit df4b5268 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'ac-packages-size-api-docs' into 'master'

Document packages_size statistics API

See merge request gitlab-org/gitlab-ee!12213
parents bcaec0fb 02ded4c0
...@@ -69,8 +69,8 @@ GET /groups?statistics=true ...@@ -69,8 +69,8 @@ GET /groups?statistics=true
"storage_size" : 212, "storage_size" : 212,
"repository_size" : 33, "repository_size" : 33,
"lfs_objects_size" : 123, "lfs_objects_size" : 123,
"job_artifacts_size" : 57 "job_artifacts_size" : 57,
"packages_size": 0
} }
} }
] ]
......
...@@ -155,7 +155,8 @@ When the user is authenticated and `simple` is not set this returns something li ...@@ -155,7 +155,8 @@ When the user is authenticated and `simple` is not set this returns something li
"storage_size": 1038090, "storage_size": 1038090,
"repository_size": 1038090, "repository_size": 1038090,
"lfs_objects_size": 0, "lfs_objects_size": 0,
"job_artifacts_size": 0 "job_artifacts_size": 0,
"packages_size": 0
}, },
"_links": { "_links": {
"self": "http://example.com/api/v4/projects", "self": "http://example.com/api/v4/projects",
...@@ -237,7 +238,8 @@ When the user is authenticated and `simple` is not set this returns something li ...@@ -237,7 +238,8 @@ When the user is authenticated and `simple` is not set this returns something li
"storage_size": 2066080, "storage_size": 2066080,
"repository_size": 2066080, "repository_size": 2066080,
"lfs_objects_size": 0, "lfs_objects_size": 0,
"job_artifacts_size": 0 "job_artifacts_size": 0,
"packages_size": 0
}, },
"_links": { "_links": {
"self": "http://example.com/api/v4/projects", "self": "http://example.com/api/v4/projects",
...@@ -345,7 +347,8 @@ GET /users/:user_id/projects ...@@ -345,7 +347,8 @@ GET /users/:user_id/projects
"storage_size": 1038090, "storage_size": 1038090,
"repository_size": 1038090, "repository_size": 1038090,
"lfs_objects_size": 0, "lfs_objects_size": 0,
"job_artifacts_size": 0 "job_artifacts_size": 0,
"packages_size": 0
}, },
"_links": { "_links": {
"self": "http://example.com/api/v4/projects", "self": "http://example.com/api/v4/projects",
...@@ -426,7 +429,8 @@ GET /users/:user_id/projects ...@@ -426,7 +429,8 @@ GET /users/:user_id/projects
"storage_size": 2066080, "storage_size": 2066080,
"repository_size": 2066080, "repository_size": 2066080,
"lfs_objects_size": 0, "lfs_objects_size": 0,
"job_artifacts_size": 0 "job_artifacts_size": 0,
"packages_size": 0
}, },
"_links": { "_links": {
"self": "http://example.com/api/v4/projects", "self": "http://example.com/api/v4/projects",
...@@ -553,7 +557,8 @@ GET /projects/:id ...@@ -553,7 +557,8 @@ GET /projects/:id
"storage_size": 1038090, "storage_size": 1038090,
"repository_size": 1038090, "repository_size": 1038090,
"lfs_objects_size": 0, "lfs_objects_size": 0,
"job_artifacts_size": 0 "job_artifacts_size": 0,
"packages_size": 0
}, },
"_links": { "_links": {
"self": "http://example.com/api/v4/projects", "self": "http://example.com/api/v4/projects",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment