Get Commit
Get specified commit
- Http Method
- GET
- End Point
-
/api/repositories/{projectId}/commits/{commitHash}
Placeholder Description Example {projectId} Project Id 1 {commitHash} Commit Hash 8cbec3d9eda2050a4ca0676767be3b6bf20251b8 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
- 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.crazyhackgut.ru/api/repositories/1/commits/8cbec3d9eda2050a4ca0676767be3b6bf20251b8