summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-02-19 14:42:00 +0000
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-03-01 14:38:35 +0000
commitcd9daf644e2b3844b9382768a3add335f942b76c (patch)
treed0ddb0cdbf494c8fbb32133b4f46adf50178ea9b /doc
parent442a6e880058138b6ae6843d9b70d62cbc5aadb0 (diff)
downloadgitlab-ce-cd9daf644e2b3844b9382768a3add335f942b76c.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/api/commits.md3
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"