mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: return template data for provisioner daemons (#16514)
Return template data in provisioner jobs to be displayed in the provisioners page.
This commit is contained in:
Generated
+8
-2
@@ -309,7 +309,10 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
|
||||
"created_at": "2019-08-24T14:15:22Z",
|
||||
"current_job": {
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"status": "pending"
|
||||
"status": "pending",
|
||||
"template_display_name": "string",
|
||||
"template_icon": "string",
|
||||
"template_name": "string"
|
||||
},
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"key_id": "1e779c8a-6786-4c89-b7c3-a6666f5fd6b5",
|
||||
@@ -319,7 +322,10 @@ curl -X GET http://coder-server:8080/api/v2/debug/health \
|
||||
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
|
||||
"previous_job": {
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"status": "pending"
|
||||
"status": "pending",
|
||||
"template_display_name": "string",
|
||||
"template_icon": "string",
|
||||
"template_name": "string"
|
||||
},
|
||||
"provisioners": [
|
||||
"string"
|
||||
|
||||
Reference in New Issue
Block a user