From e7f5f02f7d8cadea78b594f682314d5e5fd201be Mon Sep 17 00:00:00 2001 From: Takashi NATSUME Date: Tue, 20 Dec 2016 21:24:53 +0900 Subject: [PATCH] api-ref: Fix parameter type in servers-admin-action.inc Fix parameter type and add a missing parameter in servers-admin-action.inc. Change-Id: I8ad9227b49ad8148098a8658647bb4a9216d15ba Closes-Bug: #1651441 --- api-ref/source/parameters.yaml | 10 ++++++++-- api-ref/source/servers-admin-action.inc | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/api-ref/source/parameters.yaml b/api-ref/source/parameters.yaml index e9a3befb10ce..aa6284bd9da4 100644 --- a/api-ref/source/parameters.yaml +++ b/api-ref/source/parameters.yaml @@ -1395,7 +1395,7 @@ createBackup: The action. in: body required: true - type: string + type: object created: description: | The date and time when the resource was created. The date and time @@ -3347,12 +3347,18 @@ os-getVNCConsole-type: in: body required: true type: string +os-migrateLive: + description: | + The action. + in: body + required: true + type: object os-resetState: description: | The action. in: body required: true - type: string + type: object os-resetState_state: description: | The state of the server to be set, ``active`` or ``error`` are valid. diff --git a/api-ref/source/servers-admin-action.inc b/api-ref/source/servers-admin-action.inc index f3508fee7330..8c7003f62e24 100644 --- a/api-ref/source/servers-admin-action.inc +++ b/api-ref/source/servers-admin-action.inc @@ -175,6 +175,7 @@ Request .. rest_parameters:: parameters.yaml - server_id: server_id_path + - os-migrateLive: os-migrateLive - host: host_migration - block_migration: block_migration - block_migration: block_migration_2_25