Commit ca99b889 authored by Sam White's avatar Sam White

External status check api updates

parent 094a68f9
...@@ -31,7 +31,7 @@ GET /projects/:id/merge_requests/:merge_request_iid/status_checks ...@@ -31,7 +31,7 @@ GET /projects/:id/merge_requests/:merge_request_iid/status_checks
"id": 2, "id": 2,
"name": "Rule 1", "name": "Rule 1",
"external_url": "https://gitlab.com/test-endpoint", "external_url": "https://gitlab.com/test-endpoint",
"status": "approved" "status": "pass"
}, },
{ {
"id": 1, "id": 1,
...@@ -60,6 +60,7 @@ POST /projects/:id/merge_requests/:merge_request_iid/status_check_responses ...@@ -60,6 +60,7 @@ POST /projects/:id/merge_requests/:merge_request_iid/status_check_responses
| `merge_request_iid` | integer | yes | IID of a merge request | | `merge_request_iid` | integer | yes | IID of a merge request |
| `sha` | string | yes | SHA at `HEAD` of the source branch | | `sha` | string | yes | SHA at `HEAD` of the source branch |
| `external_status_check_id` | integer | yes | ID of an external status check | | `external_status_check_id` | integer | yes | ID of an external status check |
| `status` | string | no | Set to `pass` to pass the check |
NOTE: NOTE:
`sha` must be the SHA at the `HEAD` of the merge request's source branch. `sha` must be the SHA at the `HEAD` of the merge request's source branch.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment