Get Branch
Get specified branch
- Http Method
- GET
- End Point
-
/~api/repositories/{projectId}/branches/{branch:.*}
Placeholder Description Example {projectId} Project Id 1 {branch} Branch test-branch - Response
-
- Operation Successful
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> https://git.codedune.app/~api/repositories/1/branches/test-branch