How to find out the repository size which the user can access in a group by REST API or cURL

Problem to solve

I need to summarize the total size of the repositories in a specific group where an user is the project member

Could you introduce which REST APIs can be used to find out the size of the repository?

Thanks,
Jason

Versions

Please add an x whether options apply, and add the version information.

  • [ x] Self-managed

Versions

  • GitLab (Web: /help or self-managed system information sudo gitlab-rake gitlab:env:info): v17.3.7