Skip to content
Snippets Groups Projects

Add Get Web hook events API

2 files
+ 8
5
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
4
@@ -1778,7 +1778,7 @@ GET /groups/:id/hooks/:hook_id
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/151048) in GitLab 17.1.
Get a list of events for a specific project hook.
Get a list of events for a specific group hook.
```plaintext
GET /groups/:id/hooks/:hook_id/events
@@ -1801,14 +1801,14 @@ GET /groups/:id/hooks/:hook_id/events
"User-Agent": "GitLab/17.1.0-pre",
"X-Gitlab-Event": "Push Hook",
"X-Gitlab-Webhook-UUID": "3c5c0404-c866-44bc-a5f6-452bb1bfc76e",
"X-Gitlab-Instance": "http://gdk.test:3000",
"X-Gitlab-Instance": http://gitlab.example.com",
"X-Gitlab-Event-UUID": "9cebe914-4827-408f-b014-cfa23a47a35f",
"X-Gitlab-Token": "[REDACTED]"
},
"request_data": {
"object_kind": "push",
"event_name": "push",
"before": "468abc807a2b2572f43e72c743b76cee6db24025",
"event_name": "push"
}
"after": "f15b32277d2c55c6c595845a87109b09c913c556",
"ref": "refs/heads/master",
"ref_protected": true,
Loading