summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-04 11:14:12 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-04 11:14:12 +0100
commit6a5a175d9fd1d72cdaab033eefc4191561e619cc (patch)
treec3bc32ebdd3fe8f429bbbecf7260188636a7385f /doc/api
parent5f7be11aa6d5d9edc31baa09b50ac21ee80533aa (diff)
downloadgitlab-ce-6a5a175d9fd1d72cdaab033eefc4191561e619cc.tar.gz
Expose allow_guest_to_access_builds in GitLab API
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 3f372c955d2..873927f0e74 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -80,7 +80,9 @@ Parameters:
"avatar_url": "http://example.com/uploads/project/avatar/4/uploads/avatar.png",
"shared_runners_enabled": true,
"forks_count": 0,
- "star_count": 0
+ "star_count": 0,
+ "runners_token": "b8547b1dc37721d05889db52fa2f02",
+ "allow_guest_to_access_builds": true
},
{
"id": 6,
@@ -137,7 +139,8 @@ Parameters:
"shared_runners_enabled": true,
"forks_count": 0,
"star_count": 0,
- "runners_token": "b8547b1dc37721d05889db52fa2f02"
+ "runners_token": "b8547b1dc37721d05889db52fa2f02",
+ "allow_guest_to_access_builds": true
}
]
```
@@ -424,6 +427,7 @@ Parameters:
- `public` (optional) - if `true` same as setting visibility_level = 20
- `visibility_level` (optional)
- `import_url` (optional)
+- `allow_guest_to_access_builds` (optional)
### Create project for user
@@ -446,6 +450,7 @@ Parameters:
- `public` (optional) - if `true` same as setting visibility_level = 20
- `visibility_level` (optional)
- `import_url` (optional)
+- `allow_guest_to_access_builds` (optional)
### Edit project
@@ -469,6 +474,7 @@ Parameters:
- `snippets_enabled` (optional)
- `public` (optional) - if `true` same as setting visibility_level = 20
- `visibility_level` (optional)
+- `allow_guest_to_access_builds` (optional)
On success, method returns 200 with the updated project. If parameters are
invalid, 400 is returned.