-
Suggestion
-
Resolution: Tracked Elsewhere
-
None
-
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.
- is incorporated by
-
BSERV-10313 Default branch REST API 404
- Closed