mirror of
https://github.com/coder/coder.git
synced 2026-09-22 05:05:20 +08:00
refactor: return template_icon and make metadata required (#16496)
This commit is contained in:
+8
-1
@@ -48,7 +48,14 @@
|
||||
"input": {
|
||||
"workspace_build_id": "========[workspace build ID]========"
|
||||
},
|
||||
"type": "workspace_build"
|
||||
"type": "workspace_build",
|
||||
"metadata": {
|
||||
"template_version_name": "",
|
||||
"template_id": "00000000-0000-0000-0000-000000000000",
|
||||
"template_name": "",
|
||||
"template_display_name": "",
|
||||
"template_icon": ""
|
||||
}
|
||||
},
|
||||
"reason": "initiator",
|
||||
"resources": [],
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ OPTIONS:
|
||||
-O, --org string, $CODER_ORGANIZATION
|
||||
Select which organization (uuid or name) to use.
|
||||
|
||||
-c, --column [id|created at|started at|completed at|canceled at|error|error code|status|worker id|file id|tags|queue position|queue size|organization id|template version id|workspace build id|type|available workers|template version name|template id|template name|template display name|workspace id|workspace name|organization|queue] (default: created at,id,organization,status,type,queue,tags)
|
||||
-c, --column [id|created at|started at|completed at|canceled at|error|error code|status|worker id|file id|tags|queue position|queue size|organization id|template version id|workspace build id|type|available workers|template version name|template id|template name|template display name|template icon|workspace id|workspace name|organization|queue] (default: created at,id,organization,status,type,queue,tags)
|
||||
Columns to display in table output.
|
||||
|
||||
-l, --limit int, $CODER_PROVISIONER_JOB_LIST_LIMIT (default: 50)
|
||||
|
||||
@@ -22,7 +22,8 @@
|
||||
"template_version_name": "===========[version name]===========",
|
||||
"template_id": "===========[template ID]============",
|
||||
"template_name": "test-template",
|
||||
"template_display_name": ""
|
||||
"template_display_name": "",
|
||||
"template_icon": ""
|
||||
},
|
||||
"organization_name": "Coder"
|
||||
},
|
||||
@@ -50,6 +51,7 @@
|
||||
"template_id": "===========[template ID]============",
|
||||
"template_name": "test-template",
|
||||
"template_display_name": "",
|
||||
"template_icon": "",
|
||||
"workspace_id": "===========[workspace ID]===========",
|
||||
"workspace_name": "test-workspace"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user