I'm trying to get the size of a Stash repository via the REST API. So far I tried
python -c "import requests; print(requests.get('https://<Stash URL>/rest/api/1.0/projects/<project>/repos/<repo>', headers={'Authorization': 'Basic <credentials>', 'Content-Type': 'application/json'}).content)"
, but the result does not contain the size of the repository. Any help would be appreciated, thanks.