-
Bug
-
Resolution: Fixed
-
Low
-
8.0.0
-
1
-
Severity 3 - Minor
-
-
CtB - Improve Existing
Issue Summary
REST response example for the Get repositories endpoint does not match the actual response given by the application.
Steps to Reproduce
Observe difference in response between Get repositories endpoint and the documented response example. Notably, the response example includes the defaultBranch field, which is not actually returned.
Expected Results
The Get repositories endpoint response example correctly matches the actual response given by the application (no defaultBranch field).
Actual Results
Unlike the Get repositories endpoint response example, the actual response doesn't contain defaultBranch field.
Workaround
The default branch for a repository can be retrieved with the Get repository default branch endpoint.