Complete verification of os-instance-actions.inc

This patch verifies the examples and body of
os-instance-actions.inc

part of bp:api-ref-in-rst

Change-Id: I271629553c6705f9cce74a23b8335c2fd23e9f09
This commit is contained in:
Kevin_Zheng 2016-07-07 16:10:45 +08:00 committed by Zhenyu Zheng
parent 7a8f1369c5
commit 974535bacf

View File

@ -1,12 +1,10 @@
.. -*- rst -*-
.. needs:example_verification
.. needs:body_verification
================================================
Servers actions (servers, os-instance-actions)
================================================
All users can list available actions for a server.
List actions and action details for a server.
List Actions For Server
=======================
@ -15,6 +13,9 @@ List Actions For Server
Lists actions for a server.
Action information of deleted instances can be returned for requests later
than microversion 2.21.
Policy defaults enable only users with the administrative role or the owner of
the server to perform this operation. Cloud providers can change these permissions
through the ``policy.json`` file.
@ -51,6 +52,7 @@ Response
.. literalinclude:: ../../doc/api_samples/os-instance-actions/instance-actions-list-resp.json
:language: javascript
Show Server Action Details
==========================
@ -58,6 +60,9 @@ Show Server Action Details
Shows details for a server action.
Action details of deleted instances can be returned for requests later
than microversion 2.21.
Policy defaults enable only users with the administrative role to perform this operation.
Cloud providers can change these permissions through the ``policy.json`` file.
@ -100,4 +105,3 @@ Response
.. literalinclude:: ../../doc/api_samples/os-instance-actions/instance-action-get-resp.json
:language: javascript