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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.