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

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      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

            Assignee:
            Stanley Su
            Reporter:
            Aman Shrivastava
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: