{
"type": "gitea",
"active": true,
"content_type": "json",
"http_method": "GET",
"secret": "string",
"url": "string",
"branch_filter": "string",
"events": [
"push"
]
}curl --location --request POST 'https://testforgeplus.trustie.net/api/v1///webhooks.json' \
--header 'Cookie: autologin_trustie=3acc38c27d61a347f5c16fbca2c4964b181a2f79' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "gitea",
"active": true,
"content_type": "json",
"http_method": "GET",
"secret": "string",
"url": "string",
"branch_filter": "string",
"events": [
"push"
]
}'{
"id": 4167,
"type": "gitea",
"content_type": "json",
"http_method": null,
"url": "http://gxdaw.tf/snhcg",
"events": [
"delete",
"push",
"issues",
"pull_request"
],
"active": true,
"branch_filter": null,
"created_at": "2023-04-04 11:43"
}