diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2015-03-13 15:12:50 +0000 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2015-03-13 15:12:50 +0000 |
commit | 2b0f9f93758b5275b98236059f147590234f5a59 (patch) | |
tree | 26a6b3a60cbfff682d6e5739eb69f5a2d81958f4 | |
parent | 12f1a42eccb8c11031ee84157ed5dc6ce0bf23cc (diff) | |
parent | affb5b3ff48f9037349eac77f86adb7c946663ce (diff) | |
download | gitlab-ce-2b0f9f93758b5275b98236059f147590234f5a59.tar.gz |
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
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | doc/web_hooks/web_hooks.md | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index 97376c85ece..a2e139eca33 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ Please view this file on the master branch, on stable branches it's out of date. 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 mass SQL statements on initial push (Hannes Rosenögger) - Add tag push notifications and normalize HipChat and Slack messages to be consistent (Stan Hu) diff --git a/doc/web_hooks/web_hooks.md b/doc/web_hooks/web_hooks.md index 3cccd84b063..851f50f5e9a 100644 --- a/doc/web_hooks/web_hooks.md +++ b/doc/web_hooks/web_hooks.md @@ -16,6 +16,7 @@ Triggered when you push to the repository except when pushing tags. ```json { + "object_kind": "push", "before": "95790bf891e76fee5e1747ab589903a6a1f80f22", "after": "da1560886d4f094c3e6c9ef40349f7d38b5d27d7", "ref": "refs/heads/master", @@ -66,6 +67,7 @@ Triggered when you create (or delete) tags to the repository. ```json { + "object_kind": "tag_push", "ref": "refs/tags/v1.0.0", "before": "0000000000000000000000000000000000000000", "after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7", |