mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: import value from legacy variable to build parameter (#6556)
This commit is contained in:
@@ -3734,6 +3734,7 @@ Parameter represents a set value for the scope.
|
||||
"description": "string",
|
||||
"description_plaintext": "string",
|
||||
"icon": "string",
|
||||
"legacy_variable_name": "string",
|
||||
"mutable": true,
|
||||
"name": "string",
|
||||
"options": [
|
||||
@@ -3762,6 +3763,7 @@ Parameter represents a set value for the scope.
|
||||
| `description` | string | false | | |
|
||||
| `description_plaintext` | string | false | | |
|
||||
| `icon` | string | false | | |
|
||||
| `legacy_variable_name` | string | false | | |
|
||||
| `mutable` | boolean | false | | |
|
||||
| `name` | string | false | | |
|
||||
| `options` | array of [codersdk.TemplateVersionParameterOption](#codersdktemplateversionparameteroption) | false | | |
|
||||
|
||||
@@ -2209,6 +2209,7 @@ curl -X GET http://coder-server:8080/api/v2/templateversions/{templateversion}/r
|
||||
"description": "string",
|
||||
"description_plaintext": "string",
|
||||
"icon": "string",
|
||||
"legacy_variable_name": "string",
|
||||
"mutable": true,
|
||||
"name": "string",
|
||||
"options": [
|
||||
@@ -2247,6 +2248,7 @@ Status Code **200**
|
||||
| `» description` | string | false | | |
|
||||
| `» description_plaintext` | string | false | | |
|
||||
| `» icon` | string | false | | |
|
||||
| `» legacy_variable_name` | string | false | | |
|
||||
| `» mutable` | boolean | false | | |
|
||||
| `» name` | string | false | | |
|
||||
| `» options` | array | false | | |
|
||||
|
||||
Reference in New Issue
Block a user