Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
b2246ed1
Commit
b2246ed1
authored
Jul 08, 2015
by
Sytse Sijbrandij
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure webhooks are mentioned at the top level.
parent
0c4d923c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
doc/api/README.md
doc/api/README.md
+1
-1
doc/api/projects.md
doc/api/projects.md
+7
-4
No files found.
doc/api/README.md
View file @
b2246ed1
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
-
[
Users
](
users.md
)
-
[
Users
](
users.md
)
-
[
Session
](
session.md
)
-
[
Session
](
session.md
)
-
[
Projects
](
projects.md
)
-
[
Projects
](
projects.md
)
including setting Webhooks
-
[
Project Snippets
](
project_snippets.md
)
-
[
Project Snippets
](
project_snippets.md
)
-
[
Services
](
services.md
)
-
[
Services
](
services.md
)
-
[
Repositories
](
repositories.md
)
-
[
Repositories
](
repositories.md
)
...
...
doc/api/projects.md
View file @
b2246ed1
...
@@ -4,16 +4,16 @@
...
@@ -4,16 +4,16 @@
### Project visibility level
### Project visibility level
Project in GitLab has be either private, internal or public.
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:
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.
Project access must be granted explicitly for each user.
*
Internal.
`visibility_level`
is
`10`
.
*
Internal.
`visibility_level`
is
`10`
.
The project can be cloned by any logged in user.
The project can be cloned by any logged in user.
*
Public.
`visibility_level`
is
`20`
.
*
Public.
`visibility_level`
is
`20`
.
The project can be cloned without any authentication.
The project can be cloned without any authentication.
...
@@ -362,7 +362,7 @@ Parameters:
...
@@ -362,7 +362,7 @@ Parameters:
-
`public`
(optional) - if
`true`
same as setting visibility_level = 20
-
`public`
(optional) - if
`true`
same as setting visibility_level = 20
-
`visibility_level`
(optional)
-
`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.
invalid, 400 is returned.
### Fork project
### Fork project
...
@@ -479,6 +479,9 @@ rely on the returned JSON structure.
...
@@ -479,6 +479,9 @@ rely on the returned JSON structure.
## Hooks
## Hooks
Also called Project Hooks and Webhooks.
These are different for
[
System Hooks
](
system_hooks.md
)
that are system wide.
### List project hooks
### List project hooks
Get a list of project hooks.
Get a list of project hooks.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment