Repository Browse REST API 404

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Tracked Elsewhere
    • None
    • Component/s: None

      Problem Definition

      REST API endpoint for repository browsing returns a 404 for valid repositories that are empty.

       projects/pkey/repos/rslug/browse
      

      Suggested Solution

      When using the browse REST point:
      For empty repos: return a valid request with with no content or a useful message.

      Workaround

      Use a try/catch block and post-process the list of 404 repos to know which ones are really empty.

            Assignee:
            Bryan Turner (Inactive)
            Reporter:
            Ben Stuart (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: