Hi, I'm trying to automate the task of getting a 'Post Webhook' from each of my repos, copy it, create a 'Webhook' with the same configuration and disable the original 'Post Webhook'. I am thinking of using the Bitbucket API and I can only find an API for POST 'Post Webhooks' but not for 'Webhooks'. Any ideas how I could go about this?
GET/POST Post Webhooks:
https://{bitbucket-instance}/rest/webhook/1.0/projects/{project}/repos/{repo}/configurations
Hi!
I think what you're looking for is this API: https://docs.atlassian.com/bitbucket-server/rest/7.5.0/bitbucket-rest.html#idp385
Cheers,
Wolfgang
Yes! that's perfect, thank you so much!
It looks like you're new here. Sign in or register to get started.