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
This commit is contained in:
Takashi NATSUME 2016-12-20 21:24:53 +09:00
parent 1870c75c45
commit e7f5f02f7d
2 changed files with 9 additions and 2 deletions

View File

@ -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.

View File

@ -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