I can't find the proper documentation for registering webhooks on a confluence page update, using the REST API.
I manage to find in the forum a way to register a webhook using api v1
Like:
POST https://<attlassian-host>/wiki/rest/webhooks/1.0/webhook/
data = {
"name": "Page update webhook testing",
"url": "https://<host>/myapp_endpoint",
"events": ["page_updated"],
"enabled": True
}
But I did not found the proper way to sign the request so I can check it in the endpoint and/or user-pass config to reach a secured endpoint.
Can anyone share how to achieve any security level. and how to restrict the webhook to the scope of a single page_id. I tried with a filter attribute, but did not worked.