diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-03-01 15:54:43 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2018-03-01 15:54:43 +0000 |
commit | de454de9b10f0dd534884c8ffeabe3e534993349 (patch) | |
tree | 40d8079befbc40943c17f781cb3856f011715d0a /doc | |
parent | 461960262d51c719994f0f4236f79dfa1fc0f28f (diff) | |
parent | cd9daf644e2b3844b9382768a3add335f942b76c (diff) | |
download | gitlab-ce-de454de9b10f0dd534884c8ffeabe3e534993349.tar.gz |
Merge branch '42434-allow-commits-endpoint-to-work-over-all-commits' into 'master'
Resolve "Allow API method /projects/:id/repository/commits to work over all commits"
Closes #42434
See merge request gitlab-org/gitlab-ce!17182
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/commits.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md index 2c745d00887..55c673fd06a 100644 --- a/doc/api/commits.md +++ b/doc/api/commits.md @@ -14,6 +14,9 @@ GET /projects/:id/repository/commits | `ref_name` | string | no | The name of a repository branch or tag or if not given the default branch | | `since` | string | no | Only commits after or on this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ | | `until` | string | no | Only commits before or on this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ | +| `path` | string | no | The file path | +| `all` | boolean | no | Retrieve every commit from the repository | + ```bash curl --header "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v4/projects/5/repository/commits" |