diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-03 09:33:39 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-10-03 09:33:39 +0300 |
commit | 1a6ba7e640577a98b6db480c8e7884882fb0fa03 (patch) | |
tree | 29f2adc6e94f726b14c42d195cea34032baee4f0 /doc/api/system_hooks.md | |
parent | 45efba580173e7e2d8a1a8610ed3e2442723c4ca (diff) | |
parent | 62673d58edcc20076cbaf94e92c4ec1db35aa283 (diff) | |
download | gitlab-ce-1a6ba7e640577a98b6db480c8e7884882fb0fa03.tar.gz |
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r-- | doc/api/system_hooks.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/api/system_hooks.md b/doc/api/system_hooks.md index dca22c43f83..5eeb3652d57 100644 --- a/doc/api/system_hooks.md +++ b/doc/api/system_hooks.md @@ -12,6 +12,15 @@ Parameters: + **none**
+```json
+[
+ {
+ "id":3,
+ "url":"http://example.com/hook",
+ "created_at":"2013-10-02T10:15:31Z"
+ }
+]
+```
## Add new system hook hook
@@ -34,6 +43,16 @@ Parameters: + `id` (required) - The ID of hook
+```json
+{
+ "event_name":"project_create",
+ "name":"Ruby",
+ "path":"ruby",
+ "project_id":1,
+ "owner_name":"Someone",
+ "owner_email":"example@gitlabhq.com"
+}
+```
## Delete system hook
|