File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,29 @@ paths:
36
36
description : Internal Server Error
37
37
schema :
38
38
$ref : " #/definitions/Error"
39
+
40
+ /actions :
41
+ put :
42
+ summary : Creates a synchronous action.
43
+ operationId : createSyncAction
44
+ parameters :
45
+ - name : info
46
+ in : body
47
+ required : true
48
+ schema :
49
+ $ref : " #/definitions/InstanceActionInfo"
50
+ responses :
51
+ 204 :
52
+ description : The update was successful
53
+ 400 :
54
+ description : The action cannot be executed due to bad input
55
+ schema :
56
+ $ref : " #/definitions/Error"
57
+ default :
58
+ description : Internal Server Error
59
+ schema :
60
+ $ref : " #/definitions/Error"
61
+
39
62
/actions/{action_id} :
40
63
get :
41
64
summary : Returns detailed information about an action.
@@ -328,8 +351,6 @@ definitions:
328
351
description :
329
352
Variant wrapper containing the real action.
330
353
The timestamp field is read-only, trying to update/change it with an API call will fail.
331
- required :
332
- - action_id
333
354
properties :
334
355
action_id :
335
356
type : string
@@ -339,8 +360,11 @@ definitions:
339
360
description : Enumeration indicating what type of action is contained in the payload
340
361
type : string
341
362
enum :
363
+ - BlockDeviceRescan
342
364
- InstanceStart
343
365
- InstanceHalt
366
+ payload :
367
+ type : string
344
368
timestamp :
345
369
type : string
346
370
You can’t perform that action at this time.
0 commit comments