diff options
author | Robert Speicher <robert@gitlab.com> | 2016-02-08 23:33:44 +0000 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-02-08 23:33:44 +0000 |
commit | 201fb4c7e3f9ab4265f87f548ae22bb4008015c9 (patch) | |
tree | 9f203162f734ac6e214c9725b2479e5f3fccc021 /doc/api | |
parent | 2ad872382b49d4802a9ea5e2c7e8773949d83b2a (diff) | |
parent | 311f407651e9ad1859bb0e9b6b9d6de79fde1a3d (diff) | |
download | gitlab-ce-201fb4c7e3f9ab4265f87f548ae22bb4008015c9.tar.gz |
Merge branch 'ci-permissions' into 'master'
Limit guest access to builds
Closes https://dev.gitlab.org/gitlab/gitlabhq/issues/2646
See merge request !1942
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/projects.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 3f372c955d2..9e9486cd87a 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", + "public_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", + "public_builds": true } ] ``` @@ -424,6 +427,7 @@ Parameters: - `public` (optional) - if `true` same as setting visibility_level = 20 - `visibility_level` (optional) - `import_url` (optional) +- `public_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) +- `public_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) +- `public_builds` (optional) On success, method returns 200 with the updated project. If parameters are invalid, 400 is returned. |