Asked on Twitter to @Bitbucket
Community moderators have prevented the ability to post new answers.
No, currently you cannot do this because of the potential for massive payloads.
You can make paginated REST calls using the URLs in the webhook payload to get info on the commits. See, https://confluence.atlassian.com/x/doA7Fw for more information.
Hi, Dan, thanks for your response. Your proposal sounds good but have some drawbacks:
- The webhooks receivers normally aren't authenticated, this means, you don't have access to private projects REST API.
- The REST API haven't the concept of "PUSH", then you have to track a lot of things to understand which commits are related to one push.
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.