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
path: root/doc/api
diff options
context:
space:
mode:
authorSytse Sijbrandij <sytse@gitlab.com>2015-07-08 23:27:36 +0300
committerSytse Sijbrandij <sytse@gitlab.com>2015-07-08 23:27:36 +0300
commitb2246ed175975cba21aa3b396fd4b5a8f5567b57 (patch)
tree4e6cd4e05e912f96f20f6424fe5b769277bfe6bf /doc/api
parent0c4d923caddc8f790c7c8456cc2b4f56386e3c2b (diff)
Make sure webhooks are mentioned at the top level.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/README.md2
-rw-r--r--doc/api/projects.md11
2 files changed, 8 insertions, 5 deletions
diff --git a/doc/api/README.md b/doc/api/README.md
index b474e0ea389..f369c3fd978 100644
--- a/doc/api/README.md
+++ b/doc/api/README.md
@@ -4,7 +4,7 @@
- [Users](users.md)
- [Session](session.md)
-- [Projects](projects.md)
+- [Projects](projects.md) including setting Webhooks
- [Project Snippets](project_snippets.md)
- [Services](services.md)
- [Repositories](repositories.md)
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 17c014019ea..10533c73a31 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -4,16 +4,16 @@
### Project visibility level
Project in GitLab has be either private, internal or public.
-You can determine it by `visibility_level` field in project.
+You can determine it by `visibility_level` field in project.
Constants for project visibility levels are next:
-* Private. `visibility_level` is `0`.
+* Private. `visibility_level` is `0`.
Project access must be granted explicitly for each user.
* Internal. `visibility_level` is `10`.
The project can be cloned by any logged in user.
-
+
* Public. `visibility_level` is `20`.
The project can be cloned without any authentication.
@@ -362,7 +362,7 @@ Parameters:
- `public` (optional) - if `true` same as setting visibility_level = 20
- `visibility_level` (optional)
-On success, method returns 200 with the updated project. If parameters are
+On success, method returns 200 with the updated project. If parameters are
invalid, 400 is returned.
### Fork project
@@ -479,6 +479,9 @@ rely on the returned JSON structure.
## Hooks
+Also called Project Hooks and Webhooks.
+These are different for [System Hooks](system_hooks.md) that are system wide.
+
### List project hooks
Get a list of project hooks.