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

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

    XMLWordPrintable

    Details

    • UIS:
      117
    • Feedback Policy:
      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.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sgoodhew Scott Goodhew (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              23 Start watching this issue

                Dates

                Created:
                Updated: