summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-04-01 16:32:37 -0400
committerJames Ramsay <james@jramsay.com.au>2018-04-01 16:32:37 -0400
commitdb43d792ff7a641fb689ce93b831f5a9edf92500 (patch)
treea7be5c9b539200e8a59f62e473558dc93e829ccd
parent6b89ab116110f177ecb809adf429fe05f76e97f5 (diff)
downloadgitlab-ce-jramsay-list-commit-statuses-docs.tar.gz
Add pagination docs to commit status APIjramsay-list-commit-statuses-docs
-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