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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.