Is there anyway to get from the webhook push event the list of commits involved in the push?

Justice McCullum June 30, 2015

Asked on Twitter to @Bitbucket 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
DrSnigglypoof
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 30, 2015

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.

0 votes
jespino June 30, 2015

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.

TAGS
AUG Leaders

Atlassian Community Events