summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-02-04 12:57:46 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-02-04 12:57:46 +0100
commitb4c36130cc285ac25caef842040e44898eaf858d (patch)
treea8401b27cec6920b9a6e7fce6592e398bc35c54d /doc/api
parent6a5a175d9fd1d72cdaab033eefc4191561e619cc (diff)
downloadgitlab-ce-b4c36130cc285ac25caef842040e44898eaf858d.tar.gz
Rename allow_guest_to_access_builds to public_builds
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 873927f0e74..9e9486cd87a 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -82,7 +82,7 @@ Parameters:
"forks_count": 0,
"star_count": 0,
"runners_token": "b8547b1dc37721d05889db52fa2f02",
- "allow_guest_to_access_builds": true
+ "public_builds": true
},
{
"id": 6,
@@ -140,7 +140,7 @@ Parameters:
"forks_count": 0,
"star_count": 0,
"runners_token": "b8547b1dc37721d05889db52fa2f02",
- "allow_guest_to_access_builds": true
+ "public_builds": true
}
]
```
@@ -427,7 +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)
+- `public_builds` (optional)
### Create project for user
@@ -450,7 +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)
+- `public_builds` (optional)
### Edit project
@@ -474,7 +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)
+- `public_builds` (optional)
On success, method returns 200 with the updated project. If parameters are
invalid, 400 is returned.