|
|
@ -174,6 +174,7 @@ When the user is authenticated and `simple` is not set this returns something li
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"marked_for_deletion_at": "2020-04-03", // Deprecated and will be removed in API v5 in favor of marked_for_deletion_on
|
|
|
|
"marked_for_deletion_at": "2020-04-03", // Deprecated and will be removed in API v5 in favor of marked_for_deletion_on
|
|
|
@ -273,6 +274,7 @@ When the user is authenticated and `simple` is not set this returns something li
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"repository_storage": "default",
|
|
|
|
"repository_storage": "default",
|
|
|
@ -448,6 +450,7 @@ GET /users/:user_id/projects
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"marked_for_deletion_at": "2020-04-03", // Deprecated and will be removed in API v5 in favor of marked_for_deletion_on
|
|
|
|
"marked_for_deletion_at": "2020-04-03", // Deprecated and will be removed in API v5 in favor of marked_for_deletion_on
|
|
|
@ -547,6 +550,7 @@ GET /users/:user_id/projects
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"repository_storage": "default",
|
|
|
|
"repository_storage": "default",
|
|
|
@ -682,6 +686,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"statistics": {
|
|
|
|
"statistics": {
|
|
|
@ -774,6 +779,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"repository_storage": "default",
|
|
|
|
"repository_storage": "default",
|
|
|
@ -936,6 +942,7 @@ GET /projects/:id
|
|
|
|
"printing_merge_requests_link_enabled": true,
|
|
|
|
"printing_merge_requests_link_enabled": true,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"approvals_before_merge": 0,
|
|
|
|
"approvals_before_merge": 0,
|
|
|
@ -1206,6 +1213,7 @@ POST /projects
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
|
|
|
|
| `squash_option` | string | **{dotted-circle}** No | One of `never`, `always`, `default_on`, or `default_off`. |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `template_name` | string | **{dotted-circle}** No | When used without `use_custom_template`, name of a [built-in project template](../user/project/working_with_projects.md#built-in-templates). When used with `use_custom_template`, name of a custom project template. |
|
|
|
|
| `template_name` | string | **{dotted-circle}** No | When used without `use_custom_template`, name of a [built-in project template](../user/project/working_with_projects.md#built-in-templates). When used with `use_custom_template`, name of a custom project template. |
|
|
|
|
| `template_project_id` **(PREMIUM)** | integer | **{dotted-circle}** No | When used with `use_custom_template`, project ID of a custom project template. This is preferable to using `template_name` since `template_name` may be ambiguous. |
|
|
|
|
| `template_project_id` **(PREMIUM)** | integer | **{dotted-circle}** No | When used with `use_custom_template`, project ID of a custom project template. This is preferable to using `template_name` since `template_name` may be ambiguous. |
|
|
|
@ -1281,6 +1289,7 @@ POST /projects/user/:user_id
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
|
|
|
|
| `squash_option` | string | **{dotted-circle}** No | One of `never`, `always`, `default_on`, or `default_off`. |
|
|
|
|
| `suggestion_commit_message` | string | **{dotted-circle}** No | The commit message used to apply merge request [suggestions](../user/project/merge_requests/reviews/suggestions.md). |
|
|
|
|
| `suggestion_commit_message` | string | **{dotted-circle}** No | The commit message used to apply merge request [suggestions](../user/project/merge_requests/reviews/suggestions.md). |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `template_name` | string | **{dotted-circle}** No | When used without `use_custom_template`, name of a [built-in project template](../user/project/working_with_projects.md#built-in-templates). When used with `use_custom_template`, name of a custom project template. |
|
|
|
|
| `template_name` | string | **{dotted-circle}** No | When used without `use_custom_template`, name of a [built-in project template](../user/project/working_with_projects.md#built-in-templates). When used with `use_custom_template`, name of a custom project template. |
|
|
|
@ -1360,6 +1369,7 @@ PUT /projects/:id
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `show_default_award_emojis` | boolean | **{dotted-circle}** No | Show default award emojis. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_access_level` | string | **{dotted-circle}** No | One of `disabled`, `private`, or `enabled`. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
| `snippets_enabled` | boolean | **{dotted-circle}** No | _(Deprecated)_ Enable snippets for this project. Use `snippets_access_level` instead. |
|
|
|
|
|
|
|
|
| `squash_option` | string | **{dotted-circle}** No | One of `never`, `always`, `default_on`, or `default_off`. |
|
|
|
|
| `suggestion_commit_message` | string | **{dotted-circle}** No | The commit message used to apply merge request suggestions. |
|
|
|
|
| `suggestion_commit_message` | string | **{dotted-circle}** No | The commit message used to apply merge request suggestions. |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `tag_list` | array | **{dotted-circle}** No | _([Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0)_ The list of tags for a project; put array of tags, that should be finally assigned to a project. Use `topics` instead. |
|
|
|
|
| `topics` | array | **{dotted-circle}** No | The list of topics for the project. This replaces any existing topics that are already added to the project. _([Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0.)_ |
|
|
|
|
| `topics` | array | **{dotted-circle}** No | The list of topics for the project. This replaces any existing topics that are already added to the project. _([Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/328226) in GitLab 14.0.)_ |
|
|
|
@ -1484,6 +1494,7 @@ Example responses:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
@ -1583,6 +1594,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
@ -1680,6 +1692,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
@ -1871,6 +1884,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
@ -1989,6 +2003,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"remove_source_branch_after_merge": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"request_access_enabled": false,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"autoclose_referenced_issues": true,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
|
"container_registry_image_prefix": "registry.example.com/diaspora/diaspora-project-site",
|
|
|
@ -2591,6 +2606,7 @@ Example response:
|
|
|
|
"remove_source_branch_after_merge": true,
|
|
|
|
"remove_source_branch_after_merge": true,
|
|
|
|
"printing_merge_request_link_enabled": true,
|
|
|
|
"printing_merge_request_link_enabled": true,
|
|
|
|
"merge_method": "merge",
|
|
|
|
"merge_method": "merge",
|
|
|
|
|
|
|
|
"squash_option": "default_on",
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"suggestion_commit_message": null,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_enabled": true,
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|
"auto_devops_deploy_strategy": "continuous",
|
|
|
|