Create a hook
Request body
Whether the webhook should be active upon creation
Authorization header to include in webhook requests
Branch filter pattern to determine which branches trigger the webhook
CreateHookOptionConfig has all config options in it required are "content_type" and "url" Required
List of events that will trigger this webhook
Optional human-readable name for the webhook
The type of the webhook to create
Response
Hook
Whether the webhook is active and will be triggered
Authorization header to include in webhook requests
Branch filter pattern to determine which branches trigger the webhook
Configuration settings for the webhook
The date and time when the webhook was created
List of events that trigger this webhook
The unique identifier of the webhook
Optional human-readable name for the webhook
The type of the webhook (e.g., gitea, slack, discord)
The date and time when the webhook was last updated