From 087f0808718065fe68601865f54f028fef64dfa4 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Tue, 28 Jun 2016 12:55:23 +0200 Subject: Add documentation for commit builds API improvements --- doc/api/builds.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 ``` -- cgit v1.2.1