@@ -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,9 @@ 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 ` | ` ready ` |
633
640
| ` status ` | ` connecting ` |
634
641
| ` status ` | ` connected ` |
635
642
| ` status ` | ` disconnected ` |
@@ -738,6 +745,7 @@ curl -X GET http://coder-server:8080/api/v2/workspacebuilds/{workspacebuild}/sta
738
745
"operating_system" : " string" ,
739
746
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
740
747
"startup_script" : " string" ,
748
+ "state" : " starting" ,
741
749
"status" : " connecting" ,
742
750
"troubleshooting_url" : " string" ,
743
751
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -885,6 +893,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
885
893
"operating_system" : " string" ,
886
894
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
887
895
"startup_script" : " string" ,
896
+ "state" : " starting" ,
888
897
"status" : " connecting" ,
889
898
"troubleshooting_url" : " string" ,
890
899
"updated_at" : " 2019-08-24T14:15:22Z" ,
@@ -991,6 +1000,7 @@ Status Code **200**
991
1000
| ` »»» operating_system ` | string | false | | |
992
1001
| ` »»» resource_id ` | string(uuid) | false | | |
993
1002
| ` »»» startup_script ` | string | false | | |
1003
+ | ` »»» state ` | [ codersdk.WorkspaceAgentState] ( schemas.md#codersdkworkspaceagentstate ) | false | | |
994
1004
| ` »»» status ` | [ codersdk.WorkspaceAgentStatus] ( schemas.md#codersdkworkspaceagentstatus ) | false | | |
995
1005
| ` »»» troubleshooting_url ` | string | false | | |
996
1006
| ` »»» updated_at ` | string(date-time) | false | | |
@@ -1038,6 +1048,9 @@ Status Code **200**
1038
1048
| ` sharing_level ` | ` owner ` |
1039
1049
| ` sharing_level ` | ` authenticated ` |
1040
1050
| ` sharing_level ` | ` public ` |
1051
+ | ` state ` | ` starting ` |
1052
+ | ` state ` | ` start_timeout ` |
1053
+ | ` state ` | ` ready ` |
1041
1054
| ` status ` | ` connecting ` |
1042
1055
| ` status ` | ` connected ` |
1043
1056
| ` status ` | ` disconnected ` |
@@ -1188,6 +1201,7 @@ curl -X POST http://coder-server:8080/api/v2/workspaces/{workspace}/builds \
1188
1201
"operating_system" : " string" ,
1189
1202
"resource_id" : " 4d5215ed-38bb-48ed-879a-fdb9ca58522f" ,
1190
1203
"startup_script" : " string" ,
1204
+ "state" : " starting" ,
1191
1205
"status" : " connecting" ,
1192
1206
"troubleshooting_url" : " string" ,
1193
1207
"updated_at" : " 2019-08-24T14:15:22Z" ,
0 commit comments