Commit 0e5ad1ef authored by Evan Read's avatar Evan Read

Merge branch 'missing-param-external-status-checks' into 'master'

Adds missing param to status checks API docs

See merge request gitlab-org/gitlab!65004
parents 73ba8480 224ee38f
...@@ -58,11 +58,12 @@ POST /projects/:id/merge_requests/:merge_request_iid/status_check_responses ...@@ -58,11 +58,12 @@ POST /projects/:id/merge_requests/:merge_request_iid/status_check_responses
**Parameters:** **Parameters:**
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
| ------------------------ | ------- | -------- | -------------------------------------- | | -------------------------- | ------- | -------- | ------------------------------------- |
| `id` | integer | yes | ID of a project | | `id` | integer | yes | ID of a project |
| `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 |
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.
...@@ -110,6 +111,10 @@ You can create a new external status check for a project using the following end ...@@ -110,6 +111,10 @@ You can create a new external status check for a project using the following end
POST /projects/:id/external_status_checks POST /projects/:id/external_status_checks
``` ```
WARNING:
External status checks send information about all applicable merge requests to the
defined external service. This includes confidential merge requests.
| Attribute | Type | Required | Description | | Attribute | Type | Required | Description |
|------------------------|------------------|----------|------------------------------------------------| |------------------------|------------------|----------|------------------------------------------------|
| `id` | integer | yes | ID of a project | | `id` | integer | yes | ID of a project |
......
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