summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-04-02 14:26:00 +0000
committerDouwe Maan <douwe@gitlab.com>2018-04-02 14:26:00 +0000
commit712da68badb68ddcc7361091c01f32a56fe1186e (patch)
tree6e43cec624954152500263273160c5013a2fcedf
parent1c40f18f0260c2d8048270481d8671486313d162 (diff)
parentdb43d792ff7a641fb689ce93b831f5a9edf92500 (diff)
downloadgitlab-ce-712da68badb68ddcc7361091c01f32a56fe1186e.tar.gz
Merge branch 'jramsay-list-commit-statuses-docs' into 'master'
Add pagination docs to commit status API See merge request gitlab-org/gitlab-ce!18124
-rw-r--r--doc/api/commits.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/commits.md b/doc/api/commits.md
index a6b96ba539f..db0a80d04d9 100644
--- a/doc/api/commits.md
+++ b/doc/api/commits.md
@@ -412,9 +412,10 @@ Example response:
Since GitLab 8.1, this is the new commit status API.
-### Get the status of a commit
+### List the statuses of a commit
-Get the statuses of a commit in a project.
+List the statuses of a commit in a project.
+The pagination parameters `page` and `per_page` can be used to restrict the list of references.
```
GET /projects/:id/repository/commits/:sha/statuses