diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-28 13:55:23 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-06-28 14:04:11 +0300 |
commit | 087f0808718065fe68601865f54f028fef64dfa4 (patch) | |
tree | b2ceeada5028777897fb9435168fdc7a2fa0efc9 /doc | |
parent | ed6c87a5b46549a7bada652c38f95842041978ad (diff) |
Add documentation for commit builds API improvements
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/builds.md | 5 |
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 ``` |