summaryrefslogtreecommitdiff
path: root/doc/web_hooks
diff options
context:
space:
mode:
authorRyunosuke SATO <tricknotes.rs@gmail.com>2014-12-14 23:47:13 +0900
committerRyunosuke SATO <tricknotes.rs@gmail.com>2014-12-14 23:47:13 +0900
commitd11e048d7fea208a89dab80712925eaf34f69627 (patch)
tree0d46af2f937e165c03a29fea66245fad5bbf6325 /doc/web_hooks
parented7b3f84aea9bdac396a5ad70751fe9fd3549961 (diff)
downloadgitlab-ce-d11e048d7fea208a89dab80712925eaf34f69627.tar.gz
Add missing webhook doc for tag event
Diffstat (limited to 'doc/web_hooks')
-rw-r--r--doc/web_hooks/web_hooks.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/web_hooks/web_hooks.md b/doc/web_hooks/web_hooks.md
index f19517c0f18..e17d21b990d 100644
--- a/doc/web_hooks/web_hooks.md
+++ b/doc/web_hooks/web_hooks.md
@@ -54,6 +54,29 @@ Triggered when you push to the repository except when pushing tags.
}
```
+## Tag events
+
+Triggered when you create (or delete) tags to the repository.
+
+**Request body:**
+
+```json
+{
+ "ref": "refs/tags/v1.0.0",
+ "before": "0000000000000000000000000000000000000000",
+ "after": "82b3d5ae55f7080f1e6022629cdb57bfae7cccc7",
+ "user_id": 1,
+ "user_name": "John Smith",
+ "project_id": 1,
+ "repository": {
+ "name": "jsmith",
+ "url": "ssh://git@example.com/jsmith/example.git",
+ "description": "",
+ "homepage": "http://example.com/jsmith/example"
+ }
+}
+```
+
## Issues events
Triggered when a new issue is created or an existing issue was updated/closed/reopened.