summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-05-04 17:27:47 +0200
committerDouwe Maan <douwe@selenight.nl>2016-05-04 17:27:47 +0200
commit6a8359f3d3be01af6f5b124b61af7ee1c77c17d0 (patch)
tree9e972713fc223d7a466ea2b1601a093d719f0817 /doc/api
parent72e4bd5fc40c3b61792bf5f8897ab881775c7146 (diff)
parentc4b9bd041321df25764ad1de90f89b1f0dda9f33 (diff)
downloadgitlab-ce-6a8359f3d3be01af6f5b124b61af7ee1c77c17d0.tar.gz
Merge branch 'pacoguzman/gitlab-ce-15001-since-and-until-operators-api-commits'
# Conflicts: # Gemfile.lock
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/commits.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index 6341440c58b..57c2e1d9b87 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -12,6 +12,8 @@ GET /projects/:id/repository/commits
| --------- | ---- | -------- | ----------- |
| `id` | integer | yes | The ID of a project |
| `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 in this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
+| `until` | string | no | Only commits before or in this date will be returned in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ |
```bash
curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" "https://gitlab.example.com/api/v3/projects/5/repository/commits"