Skip to content
代码片段 群组 项目
未验证 提交 08679fee 编辑于 作者: Marcus Jung's avatar Marcus Jung 提交者: GitLab
浏览文件

doc: add api group level variables 255 chars limit

上级 13892cc8
No related branches found
No related tags found
无相关合并请求
...@@ -98,7 +98,7 @@ POST /groups/:id/variables ...@@ -98,7 +98,7 @@ POST /groups/:id/variables
| `id` | integer/string | Yes | The ID of a group or [URL-encoded path of the group](rest/index.md#namespaced-path-encoding). | | `id` | integer/string | Yes | The ID of a group or [URL-encoded path of the group](rest/index.md#namespaced-path-encoding). |
| `key` | string | Yes | The `key` of a variable; must have no more than 255 characters; only `A-Z`, `a-z`, `0-9`, and `_` are allowed. | | `key` | string | Yes | The `key` of a variable; must have no more than 255 characters; only `A-Z`, `a-z`, `0-9`, and `_` are allowed. |
| `value` | string | Yes | The `value` of a variable. | | `value` | string | Yes | The `value` of a variable. |
| `description` | string | No | The `description` of the variable. Default: `null`. | | `description` | string | No | The `description` of the variable; must have no more than 255 characters. Default: `null`. |
| `environment_scope` | string | No | The [environment scope](../ci/environments/index.md#limit-the-environment-scope-of-a-cicd-variable) of a variable. Premium and Ultimate only. | | `environment_scope` | string | No | The [environment scope](../ci/environments/index.md#limit-the-environment-scope-of-a-cicd-variable) of a variable. Premium and Ultimate only. |
| `masked` | boolean | No | Whether the variable is masked. | | `masked` | boolean | No | Whether the variable is masked. |
| `protected` | boolean | No | Whether the variable is protected. | | `protected` | boolean | No | Whether the variable is protected. |
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册