@@ -100,6 +100,7 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/workspace/{workspacenam
100
100
"operating_system" : " string" ,
101
101
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
102
102
"startup_script" : " string" ,
103
+ "state" : " starting" ,
103
104
"status" : " connecting" ,
104
105
"troubleshooting_url" : " string" ,
105
106
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -242,6 +243,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild} \
242
243
"operating_system" : " string" ,
243
244
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
244
245
"startup_script" : " string" ,
246
+ "state" : " starting" ,
245
247
"status" : " connecting" ,
246
248
"troubleshooting_url" : " string" ,
247
249
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -527,6 +529,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/res
527
529
"operating_system" : " string" ,
528
530
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
529
531
"startup_script" : " string" ,
532
+ "state" : " starting" ,
530
533
"status" : " connecting" ,
531
534
"troubleshooting_url" : " string" ,
532
535
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -601,6 +604,7 @@ Status Code **200**
601
604
| ` »» operating_system ` | string | false | | |
602
605
| ` »» resource_id ` | string(uuid) | false | | |
603
606
| ` »» startup_script ` | string | false | | |
607
+ | ` »» state ` | [ codersdk.WorkspaceAgentState] ( schemas.md#codersdkworkspaceagentstate ) | false | | |
604
608
| ` »» status ` | [ codersdk.WorkspaceAgentStatus] ( schemas.md#codersdkworkspaceagentstatus ) | false | | |
605
609
| ` »» troubleshooting_url ` | string | false | | |
606
610
| ` »» updated_at ` | string(date-time) | false | | |
@@ -630,6 +634,10 @@ Status Code **200**
630
634
| ` sharing_level ` | ` owner ` |
631
635
| ` sharing_level ` | ` authenticated ` |
632
636
| ` sharing_level ` | ` public ` |
637
+ | ` state ` | ` starting ` |
638
+ | ` state ` | ` start_timeout ` |
639
+ | ` state ` | ` start_error ` |
640
+ | ` state ` | ` ready ` |
633
641
| ` status ` | ` connecting ` |
634
642
| ` status ` | ` connected ` |
635
643
| ` status ` | ` disconnected ` |
@@ -738,6 +746,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/sta
738
746
"operating_system" : " string" ,
739
747
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
740
748
"startup_script" : " string" ,
749
+ "state" : " starting" ,
741
750
"status" : " connecting" ,
742
751
"troubleshooting_url" : " string" ,
743
752
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -885,6 +894,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
885
894
"operating_system" : " string" ,
886
895
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
887
896
"startup_script" : " string" ,
897
+ "state" : " starting" ,
888
898
"status" : " connecting" ,
889
899
"troubleshooting_url" : " string" ,
890
900
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -991,6 +1001,7 @@ Status Code **200**
991
1001
| ` »»» operating_system ` | string | false | | |
992
1002
| ` »»» resource_id ` | string(uuid) | false | | |
993
1003
| ` »»» startup_script ` | string | false | | |
1004
+ | ` »»» state ` | [ codersdk.WorkspaceAgentState] ( schemas.md#codersdkworkspaceagentstate ) | false | | |
994
1005
| ` »»» status ` | [ codersdk.WorkspaceAgentStatus] ( schemas.md#codersdkworkspaceagentstatus ) | false | | |
995
1006
| ` »»» troubleshooting_url ` | string | false | | |
996
1007
| ` »»» updated_at ` | string(date-time) | false | | |
@@ -1038,6 +1049,10 @@ Status Code **200**
1038
1049
| ` sharing_level ` | ` owner ` |
1039
1050
| ` sharing_level ` | ` authenticated ` |
1040
1051
| ` sharing_level ` | ` public ` |
1052
+ | ` state ` | ` starting ` |
1053
+ | ` state ` | ` start_timeout ` |
1054
+ | ` state ` | ` start_error ` |
1055
+ | ` state ` | ` ready ` |
1041
1056
| ` status ` | ` connecting ` |
1042
1057
| ` status ` | ` connected ` |
1043
1058
| ` status ` | ` disconnected ` |
@@ -1188,6 +1203,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
1188
1203
"operating_system" : " string" ,
1189
1204
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
1190
1205
"startup_script" : " string" ,
1206
+ "state" : " starting" ,
1191
1207
"status" : " connecting" ,
1192
1208
"troubleshooting_url" : " string" ,
1193
1209
"updated_at" : " 2019-08-24T14:15:22Z" ,
0 commit comments