summaryrefslogtreecommitdiff
path: root/doc/api/builds.md
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-28 12:55:23 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-28 13:04:11 +0200
commit087f0808718065fe68601865f54f028fef64dfa4 (patch)
treeb2ceeada5028777897fb9435168fdc7a2fa0efc9 /doc/api/builds.md
parented6c87a5b46549a7bada652c38f95842041978ad (diff)
downloadgitlab-ce-087f0808718065fe68601865f54f028fef64dfa4.tar.gz
Add documentation for commit builds API improvements
Diffstat (limited to 'doc/api/builds.md')
-rw-r--r--doc/api/builds.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/api/builds.md b/doc/api/builds.md
index de998944352..2adea11247e 100644
--- a/doc/api/builds.md
+++ b/doc/api/builds.md
@@ -107,6 +107,11 @@ Example of response
Get a list of builds for specific commit in a project.
+This endpoint will return all builds, from all pipelines for a given commit.
+If the commit SHA is not found, it will respond with 404, otherwise it will
+return an array of builds (an empty array if there are no builds for this
+particular commit).
+
```
GET /projects/:id/repository/commits/:sha/builds
```