Query Commits
Query commits of specified project. Will return list of matching commit hashes
- Http Method
- GET
- End Point
-
/api/repositories/{projectId}/commits
Placeholder Description Example {projectId} Project Id 1 - Query Parameters
-
Parameter Description Required Example query Syntax of this query is the same as query box in commits page No since tag(v4.0.0) until tag(v4.7.0) count Number of commits to return Yes 100 - Response
- cURL Example
-
$ curl -u <login name>:<password or access token> -G https://git.crazyhackgut.ru/api/repositories/1/commits --data-urlencode 'query=since tag(v4.0.0) until tag(v4.7.0)' --data-urlencode count=100