Commit f4cd8c7c authored by Kati Paizee's avatar Kati Paizee

Merge branch 'docs-webhook-mr-approval' into 'master'

Document approval and unapproval webhook MR events

See merge request gitlab-org/gitlab!81922
parents 3a344f89 6eca503e
...@@ -771,7 +771,8 @@ Payload example: ...@@ -771,7 +771,8 @@ Payload example:
Merge request events are triggered when: Merge request events are triggered when:
- A new merge request is created. - A new merge request is created.
- An existing merge request is updated, approved, unapproved, merged, or closed. - An existing merge request is updated, approved (by all required approvers), unapproved, merged, or closed.
- An individual user adds or removes their approval to an existing merge request.
- A commit is added in the source branch. - A commit is added in the source branch.
- All threads are resolved on the merge request. - All threads are resolved on the merge request.
...@@ -783,6 +784,8 @@ The available values for `object_attributes.action` in the payload are: ...@@ -783,6 +784,8 @@ The available values for `object_attributes.action` in the payload are:
- `update` - `update`
- `approved` - `approved`
- `unapproved` - `unapproved`
- `approval`
- `unapproval`
- `merge` - `merge`
Request header: Request header:
......
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