Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-28 13:55:23 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-06-28 14:04:11 +0300
commit087f0808718065fe68601865f54f028fef64dfa4 (patch)
treeb2ceeada5028777897fb9435168fdc7a2fa0efc9 /doc
parented6c87a5b46549a7bada652c38f95842041978ad (diff)
Add documentation for commit builds API improvements
Diffstat (limited to 'doc')
-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
```