summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorTony Rom <thetonyrom@gmail.com>2017-11-16 21:10:15 +0300
committerTony Rom <thetonyrom@gmail.com>2017-12-15 19:53:57 +0300
commitfd88b0ca56b3a4230902f76a7b049228e53e6bb0 (patch)
treefdb0ac8c494817e946bc3b342c54e3b17e4e2e0d /doc/api
parent627a96875ee68e37b45192af3121f09032ea4bbf (diff)
downloadgitlab-ce-fd88b0ca56b3a4230902f76a7b049228e53e6bb0.tar.gz
Add `pipelines` endpoint to merge requests API
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/merge_requests.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 880b0ed2c65..a3261cf7ee4 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -431,6 +431,32 @@ Parameters:
}
```
+## List MR pipelines
+
+Get a list of merge request pipelines.
+
+```
+GET /projects/:id/merge_requests/:merge_request_iid/pipelines
+```
+
+Parameters:
+
+- `id` (required) - The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user
+- `merge_request_iid` (required) - The internal ID of the merge request
+
+Example of response
+
+```json
+[
+ {
+ "id": 77,
+ "sha": "959e04d7c7a30600c894bd3c0cd0e1ce7f42c11d",
+ "ref": "master",
+ "status": "success"
+ }
+]
+```
+
## Create MR
Creates a new merge request.