summaryrefslogtreecommitdiff
path: root/doc/web_hooks
diff options
context:
space:
mode:
authorGabriel Mazetto <gabriel@gitlab.com>2016-05-13 04:21:01 -0300
committerGabriel Mazetto <gabriel@gitlab.com>2016-05-31 11:24:58 -0300
commitaaaed331ba06d14f0e071e0933a250c61caabf94 (patch)
tree2cfdded6acef3d5d38ed35d1d351788864d30d1e /doc/web_hooks
parentef4fedc18f5e2475aa36cc4327a76a496567c6fc (diff)
downloadgitlab-ce-aaaed331ba06d14f0e071e0933a250c61caabf94.tar.gz
Fix hook data for Wiki Page event
Added "wiki" section and removed "repository"
Diffstat (limited to 'doc/web_hooks')
-rw-r--r--doc/web_hooks/web_hooks.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/web_hooks/web_hooks.md b/doc/web_hooks/web_hooks.md
index 0777463def5..8559b67af04 100644
--- a/doc/web_hooks/web_hooks.md
+++ b/doc/web_hooks/web_hooks.md
@@ -720,7 +720,7 @@ X-Gitlab-Event: Wiki Page Hook
"description": "This is awesome",
"web_url": "http://example.com/root/awesome-project",
"avatar_url": null,
- "git_ssh_url": "git@example.com:root/test-project.git",
+ "git_ssh_url": "git@example.com:root/awesome-project.git",
"git_http_url": "http://example.com/root/awesome-project.git",
"namespace": "root",
"visibility_level": 0,
@@ -731,6 +731,13 @@ X-Gitlab-Event: Wiki Page Hook
"ssh_url": "git@example.com:root/awesome-project.git",
"http_url": "http://example.com/root/awesome-project.git"
},
+ "wiki": {
+ "web_url": "http://example.com/root/awesome-project/wikis/home",
+ "git_ssh_url": "git@example.com:root/awesome-project.wiki.git",
+ "git_http_url": "http://example.com/root/awesome-project.wiki.git",
+ "path_with_namespace": "root/awesome-project.wiki",
+ "default_branch": "master"
+ },
"object_attributes": {
"title": "Awesome",
"content": "awesome content goes here",
@@ -739,12 +746,6 @@ X-Gitlab-Event: Wiki Page Hook
"slug": "awesome",
"url": "http://example.com/root/awesome-project/wikis/awesome",
"action": "create"
- },
- "repository": {
- "name": "awesome-project",
- "url": "git@example.com:root/awesome-project.git",
- "description": "test",
- "homepage": "http://example.com/root/awesome-project"
}
}
```