@@ -27,9 +27,9 @@ produces:
2727paths :
2828 /boot-source :
2929 put :
30- summary : " Creates new boot source. If boot source already exists,
30+ summary : Creates new boot source. If boot source already exists,
3131 updates its state based on new input. May fail if update is not possible.
32- The only supported boot source is LocalImage."
32+ The only supported boot source is LocalImage.
3333 operationId : " putGuestBootSource"
3434 parameters :
3535 - name : " body"
@@ -46,16 +46,16 @@ paths:
4646 400 :
4747 description : Boot source cannot be created due to bad input.
4848 schema :
49- $ref : ' #/definitions/Error'
49+ $ref : " #/definitions/Error"
5050 default :
5151 description : Internal server error.
5252 schema :
53- $ref : ' #/definitions/Error'
53+ $ref : " #/definitions/Error"
5454
5555 /machine-config :
5656 put :
57- summary : " Updates the Virtual Machine Configuration with the specified input. The Machine Configuration has default values
58- for the vCPU count (=1) and the memory size (=256 MiB). May fail if update is not possible."
57+ summary : Updates the Virtual Machine Configuration with the specified input. The Machine Configuration has default values
58+ for the vCPU count (=1) and the memory size (=256 MiB). May fail if update is not possible.
5959 operationId : " putMachineConfiguration"
6060 parameters :
6161 - name : " body"
@@ -71,13 +71,39 @@ paths:
7171 400 :
7272 description : Machine Configuration cannot be updated due to bad input.
7373 schema :
74- $ref : ' #/definitions/Error'
74+ $ref : " #/definitions/Error"
7575 default :
7676 description : Internal server error.
7777 schema :
78- $ref : ' #/definitions/Error'
78+ $ref : " #/definitions/Error"
7979
8080 /actions/{action_id} :
81+ get :
82+ summary : Return detailed information about an action.
83+ operationId : describeInstanceAction
84+ parameters :
85+ - name : action_id
86+ in : path
87+ description : The action identifier.
88+ required : true
89+ type : string
90+ responses :
91+ 200 :
92+ description : The instance action information.
93+ schema :
94+ $ref : " #/definitions/InstanceActionInfo"
95+ 404 :
96+ description : Action not found.
97+ schema :
98+ $ref : " #/definitions/Error"
99+ 409 :
100+ description : Action is still pending.
101+ schema :
102+ $ref : " #/definitions/Error"
103+ default :
104+ description : Unexpected error.
105+ schema :
106+ $ref : " #/definitions/Error"
81107 put :
82108 summary : Create an instance action.
83109 operationId : createInstanceAction
@@ -91,19 +117,19 @@ paths:
91117 in : body
92118 required : true
93119 schema :
94- $ref : ' #/definitions/InstanceActionInfo'
120+ $ref : " #/definitions/InstanceActionInfo"
95121 responses :
96122 201 :
97123 description : No previous action existed so a new one was created.
98124 default :
99125 description : Unexpected error.
100126 schema :
101- $ref : ' #/definitions/Error'
127+ $ref : " #/definitions/Error"
102128
103129 /drives/{drive_id} :
104130 put :
105- summary : " Creates new drive with ID specified by ' drive_id' path parameter. If drive with specified ID
106- already exists, updates its state based on new input. May fail if update is not possible."
131+ summary : Creates new drive with ID specified by " drive_id" path parameter. If drive with specified ID
132+ already exists, updates its state based on new input. May fail if update is not possible.
107133 operationId : " putGuestDriveByID"
108134 parameters :
109135 - name : " drive_id"
@@ -125,17 +151,17 @@ paths:
125151 400 :
126152 description : Drive cannot be created due to bad input.
127153 schema :
128- $ref : ' #/definitions/Error'
154+ $ref : " #/definitions/Error"
129155 default :
130156 description : Internal server error.
131157 schema :
132- $ref : ' #/definitions/Error'
158+ $ref : " #/definitions/Error"
133159
134160 /network-interfaces/{iface_id} :
135161 put :
136- summary : " Creates new network interface with ID specified by ' iface_id' path parameter.
162+ summary : Creates new network interface with ID specified by " iface_id" path parameter.
137163 If network interface with specified ID already exists,
138- updates its state based on new input. May fail if update is not possible."
164+ updates its state based on new input. May fail if update is not possible.
139165 operationId : " putGuestNetworkInterfaceByID"
140166 parameters :
141167 - name : " iface_id"
@@ -157,16 +183,16 @@ paths:
157183 400 :
158184 description : Network interface cannot be created due to bad input.
159185 schema :
160- $ref : ' #/definitions/Error'
186+ $ref : " #/definitions/Error"
161187 default :
162188 description : Internal server error.
163189 schema :
164- $ref : ' #/definitions/Error'
190+ $ref : " #/definitions/Error"
165191
166192 /vsocks/{vsock_id} :
167193 put :
168- summary : " Creates new vsock with ID specified by ' vsock_id' path parameter. If vsock with specified ID
169- already exists, updates its state based on new input. May fail if update is not possible."
194+ summary : Creates new vsock with ID specified by " vsock_id" path parameter. If vsock with specified ID
195+ already exists, updates its state based on new input. May fail if update is not possible.
170196 operationId : " putGuestVsockByID"
171197 parameters :
172198 - name : " vsock_id"
@@ -188,11 +214,11 @@ paths:
188214 400 :
189215 description : Vsock cannot be created due to bad input.
190216 schema :
191- $ref : ' #/definitions/Error'
217+ $ref : " #/definitions/Error"
192218 default :
193219 description : Internal server error.
194220 schema :
195- $ref : ' #/definitions/Error'
221+ $ref : " #/definitions/Error"
196222
197223
198224definitions :
@@ -211,16 +237,16 @@ definitions:
211237 enum :
212238 - " LocalImage"
213239 local_image :
214- $ref : ' #/definitions/LocalImage'
240+ $ref : " #/definitions/LocalImage"
215241 boot_args :
216242 type : string
217243 description : " kernel boot arguments"
218244
219245 MachineConfiguration :
220246 type : object
221247 description : |
222- Machine Configuration descriptor by which you can specify the number of vCPU of one machine with ' vcpu_count'
223- and the memory size in MiB with ' mem_size_mib' .
248+ Machine Configuration descriptor by which you can specify the number of vCPU of one machine with " vcpu_count"
249+ and the memory size in MiB with " mem_size_mib" .
224250 properties :
225251 vcpu_count :
226252 type : integer
@@ -285,7 +311,7 @@ definitions:
285311 is_root_device :
286312 type : boolean
287313 state :
288- $ref : ' #/definitions/DeviceState'
314+ $ref : " #/definitions/DeviceState"
289315
290316 NetworkInterface :
291317 type : object
@@ -300,7 +326,7 @@ definitions:
300326 type : string
301327 description : " host level path for the guest network interface"
302328 state :
303- $ref : ' #/definitions/DeviceState'
329+ $ref : " #/definitions/DeviceState"
304330
305331 Vsock :
306332 type : object
@@ -313,10 +339,11 @@ definitions:
313339 type : integer
314340 description : " Guest Vsock CID (should be an u32 value)"
315341 state :
316- $ref : ' #/definitions/DeviceState'
342+ $ref : " #/definitions/DeviceState"
317343
318344 Error :
319345 properties :
320346 faultMessage :
321347 type : string
322348 description : A description of the error condition.
349+
0 commit comments