Feat: add container_registry_size to the REST API (again)
requested to merge gitlab-community/gitlab:438865-add-container_registry_size-to-rest-api-again into master
THIS IS A RECREATION OF !142362 (merged) with the line mentioned in !142362 (comment 1749698573) removed.
What does this MR do and why?
Adds container_registry_size to REST API
Closes #438865 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
With the default seeded GDK:
http://your-gitlab.com/api/v4/groups?statistics=true
http://your-gitlab.com/api/v4/projects/7?statistics=true
"statistics": {
"commit_count": 500,
"storage_size": 0,
"repository_size": 669450,
"wiki_size": 0,
"lfs_objects_size": 0,
"job_artifacts_size": 0,
"pipeline_artifacts_size": 0,
"packages_size": 0,
"snippets_size": 0,
"uploads_size": 0,
"container_registry_size": 0 <-- new
}
Related to #438865 (closed)