Commit 2b0f9f93 authored by Robert Schilling's avatar Robert Schilling

Merge branch 'update-webhooks-docs' into 'master'

Update Webhook documentation for tag and tag push events

Just a quick update to include the `object_kind` field in the Webhooks documentation.

See merge request !389
parents 12f1a42e affb5b3f
Please view this file on the master branch, on stable branches it's out of date. Please view this file on the master branch, on stable branches it's out of date.
v 7.9.0 (unreleased) v 7.9.0 (unreleased)
- Update documentation for object_kind field in Webhook push and tag push Webhooks (Stan Hu)
- Fix broken email images (Hannes Rosenögger) - Fix broken email images (Hannes Rosenögger)
- Fix mass SQL statements on initial push (Hannes Rosenögger) - Fix mass SQL statements on initial push (Hannes Rosenögger)
- Add tag push notifications and normalize HipChat and Slack messages to be consistent (Stan Hu) - Add tag push notifications and normalize HipChat and Slack messages to be consistent (Stan Hu)
......
...@@ -16,6 +16,7 @@ Triggered when you push to the repository except when pushing tags. ...@@ -16,6 +16,7 @@ Triggered when you push to the repository except when pushing tags.
```json ```json
{ {
"object_kind": "push",
"before": "95790bf891e76fee5e1747ab589903a6a1f80f22", "before": "95790bf891e76fee5e1747ab589903a6a1f80f22",
"after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7",
"ref": "refs/heads/master", "ref": "refs/heads/master",
...@@ -66,6 +67,7 @@ Triggered when you create (or delete) tags to the repository. ...@@ -66,6 +67,7 @@ Triggered when you create (or delete) tags to the repository.
```json ```json
{ {
"object_kind": "tag_push",
"ref": "refs/tags/v1.0.0", "ref": "refs/tags/v1.0.0",
"before": "0000000000000000000000000000000000000000", "before": "0000000000000000000000000000000000000000",
"after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7", "after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment