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

The documentation for the Search for Repositories API is missing the OFFLINE state value.

XMLWordPrintable

      Issue Summary

      The documentation for Search for repositories does not mention the OFFLINE as a supported state of the repository.

      This is reproducible on Data Center: yes

      Steps to Reproduce

      When executing the API call with an invalid state value, the response provides a list of valid options, indicating that OFFLINE is among them:

        "errors": [
          {
            "context": null,
            "message": "Repository state should be one of: AVAILABLE, INITIALISATION_FAILED, INITIALISING, OFFLINE",
            "exceptionName": null
          }
      

      Expected Results

      Given that OFFLINE is a valid repository state, it would be beneficial to include it in the documentation for clarity and completeness.

      Actual Results

      The current documentation lists only three states: "AVAILABLE, INITIALISATION_FAILED, INITIALISING."

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

              c95a692b3157 Stanley Su
              83b3279fad28 Aman Shrivastava
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: