Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorMathieu Parent <math.parent@gmail.com>2019-05-15 15:35:55 +0300
committerMathieu Parent <math.parent@gmail.com>2019-07-03 17:18:05 +0300
commit353e68772c8b57ef4a98be094f2674d28a2dedcd (patch)
tree2bccce84d64aeae32415e7b4231178779825a072 /doc/api
parent26b7b475586b67c9e9aee7ec7311cca712901dbc (diff)
Add build_git_strategy attribute to project API
We map the boolean to the string 'fetch' or 'clone', to be more explicit.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/projects.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md
index 702a89c3bba..88fa45cc6fa 100644
--- a/doc/api/projects.md
+++ b/doc/api/projects.md
@@ -733,6 +733,7 @@ POST /projects
| `tag_list` | array | no | The list of tags for a project; put array of tags, that should be finally assigned to a project |
| `avatar` | mixed | no | Image file for avatar of the project |
| `printing_merge_request_link_enabled` | boolean | no | Show link to create/view merge request when pushing from the command line |
+| `build_git_strategy` | string | no | The Git strategy. Defaults to `fetch` |
| `ci_config_path` | string | no | The path to CI config file |
| `repository_storage` | string | no | Which storage shard the repository is on. Available only to admins |
| `approvals_before_merge` | integer | no | **[STARTER]** How many approvers should approve merge requests by default |
@@ -784,6 +785,7 @@ POST /projects/user/:user_id
| `tag_list` | array | no | The list of tags for a project; put array of tags, that should be finally assigned to a project |
| `avatar` | mixed | no | Image file for avatar of the project |
| `printing_merge_request_link_enabled` | boolean | no | Show link to create/view merge request when pushing from the command line |
+| `build_git_strategy` | string | no | The Git strategy. Defaults to `fetch` |
| `ci_config_path` | string | no | The path to CI config file |
| `repository_storage` | string | no | Which storage shard the repository is on. Available only to admins |
| `approvals_before_merge` | integer | no | **[STARTER]** How many approvers should approve merge requests by default |
@@ -834,6 +836,7 @@ PUT /projects/:id
| `request_access_enabled` | boolean | no | Allow users to request member access |
| `tag_list` | array | no | The list of tags for a project; put array of tags, that should be finally assigned to a project |
| `avatar` | mixed | no | Image file for avatar of the project |
+| `build_git_strategy` | string | no | The Git strategy. Defaults to `fetch` |
| `ci_config_path` | string | no | The path to CI config file |
| `ci_default_git_depth` | integer | no | Default number of revisions for [shallow cloning](../user/project/pipelines/settings.md#git-shallow-clone) |
| `repository_storage` | string | no | Which storage shard the repository is on. Available only to admins |