diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-20 10:27:37 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-20 10:27:37 -0800 |
commit | 92434b29cc45677fe72bb6a8a5bd09d5ead8d138 (patch) | |
tree | 2b02d77b232b0e09597257b36d4e8af563a70811 /doc/api | |
parent | 1f617c3c5ffd3b8b4d1eb29d9cda8a2e7a749133 (diff) | |
download | gitlab-ce-92434b29cc45677fe72bb6a8a5bd09d5ead8d138.tar.gz |
Extend project web hooks with more data
* add git_http_url and git_ssh_url to project web hook
* add visibility_level to project web hook
* add documentation about project visibility_level in API
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/projects.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 454f6fa2e91..a1a23051d7e 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -1,5 +1,23 @@ # Projects + +### Project visibility level + +Project in GitLab has be either private, internal or public. +You can determine it by `visibility_level` field in project. + +Constants for project visibility levels are next: + +* 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. + + ## List projects Get a list of projects accessible by the authenticated user. |