diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-11 14:29:53 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-01-11 14:29:53 +0300 |
commit | 06713cb7b07f30eda8f67531387f7cb8801987b1 (patch) | |
tree | 69e8f1a35b5c76b28e12271d1e4dd59f749d375f /doc | |
parent | 59adc07f00f4f3ea326194d77c31580edfdfb2a4 (diff) | |
parent | 7ed08fcd5db058500b3092fd94791e9bd8a29bb7 (diff) |
Merge branch '39214__pipeline_api' into 'master'
Add `pipelines` endpoint to merge requests API
Closes #39214
See merge request gitlab-org/gitlab-ce!15454
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/merge_requests.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md index 24afcef9a31..22ccc6a46f3 100644 --- a/doc/api/merge_requests.md +++ b/doc/api/merge_requests.md @@ -468,6 +468,30 @@ 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 + +```json +[ + { + "id": 77, + "sha": "959e04d7c7a30600c894bd3c0cd0e1ce7f42c11d", + "ref": "master", + "status": "success" + } +] +``` + ## Create MR Creates a new merge request. |