Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4988

As an admin, I want a REST API endpoint to retrieve the disk size of a repository

XMLWordPrintable

    • 49
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      An automated way of accessing the repository size on disk information would be beneficial to monitor the growth of a repository, and plan maintenance operations accordingly.

      The Bitbucket Server user interface already provides access to the "Approximate size" of a repository in the repository settings page:

      $BITBUCKET_URL/projects/<project_name>/repos/<repository_name>/settings
      

      Suggested Solution

      Add a REST API endpoint to retrieve the repository disk size.

        1. BSERV4988_repositorySize.png
          45 kB
          Caterina Curti
        2. Screen Shot 2016-05-09 at 5.12.06 PM.png
          37 kB
          zeeshan

            Unassigned Unassigned
            sgoodhew Scott Goodhew (Inactive)
            Votes:
            21 Vote for this issue
            Watchers:
            30 Start watching this issue

              Created:
              Updated: