POST hook branch creation/deletion payload (BB-11348)

XMLWordPrintable

      When i create a new branch, the payload i get is :

      {"repository":

      {"website": "", "fork": false, "name": "mobi-puppet", "scm": "git", "owner": "mobitv", "absolute_url": "/mobitv/mobi-puppet/", "slug": "mobi-puppet", "is_private": true}

      , "truncated": false, "commits": [], "canon_url": "https://bitbucket.org", "user": "hkadiri"}

      When i delete a remote branch, the payload i get is:
      {"repository":

      {"website": "", "fork": false, "name": "mobi-puppet", "scm": "git", "owner": "mobitv", "absolute_url": "/mobitv/mobi-puppet/", "slug": "mobi-puppet", "is_private": true}

      , "truncated": false, "commits": [], "canon_url": "https://bitbucket.org", "user": "hkadiri"}

      As you can see there's no meaning full information to tell if a branch got created or deleted.

      Could the payload be updated to provide more meaningful information. Something like the webhooks for github (https://developer.github.com/webhooks/)

              Assignee:
              Unassigned
              Reporter:
              Legacy Bitbucket Cloud User (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: