Skip to main content

parse_bitbucket_push

Function parse_bitbucket_push 

Source
pub fn parse_bitbucket_push(body: &[u8]) -> Result<WebhookEvent>
Expand description

Parse a Bitbucket Server / Cloud push webhook payload.

ยงErrors

Returns an error if the body is not valid JSON or required fields are missing.