Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2013-10-02 14:50:01 +0400
committerMarin Jankovski <maxlazio@gmail.com>2013-10-02 14:50:01 +0400
commit55880751aacb609d6d9d5bff2dd236c1b1952551 (patch)
tree37c16e8b2429b20d016912e1b3fb140b9e9d2e95 /doc/api/system_hooks.md
parentf1253fa7108e6277dcf9e71e0d52279b6f63b93b (diff)
Update deploy keys, groups and system hooks api docs.
Diffstat (limited to 'doc/api/system_hooks.md')
-rw-r--r--doc/api/system_hooks.md19
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