Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
224ee38f
Commit
224ee38f
authored
Jun 30, 2021
by
Max Woolf
Committed by
Evan Read
Jun 30, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds missing param to status checks API docs
parent
781078f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
doc/api/status_checks.md
doc/api/status_checks.md
+10
-5
No files found.
doc/api/status_checks.md
View file @
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 |
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment