Complet Method Verification of os-instance-actions

verified the API doc for os-instance-actions, changes some
wording and the title,
Also, remove some common error code like 500, 503 etc

Part of bp:api-ref-in-rst

Change-Id: Icaf84d86c773ad4173c662dc148219b3aba4a9fc
This commit is contained in:
jichenjc 2016-04-23 22:13:01 +08:00
parent b256cae8e2
commit 896062a383
1 changed files with 12 additions and 11 deletions

View File

@ -1,18 +1,14 @@
.. -*- rst -*-
.. needs:method_verification
.. needs:parameter_verification
.. needs:example_verification
.. needs:body_verification
=======================================================
Servers - list actions (servers, os-instance-actions)
=======================================================
================================================
Servers actions (servers, os-instance-actions)
================================================
All users can list available actions for a server.
All users can show details for a server action; however, only
administrators can view server events in server action details.
List Actions For Server
=======================
@ -20,10 +16,13 @@ List Actions For Server
Lists actions for a server.
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.
Normal response codes: 200
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404)
Request
-------
@ -48,10 +47,12 @@ Show Server Action Details
Shows details for a server action.
Policy defaults enable only users with the administrative role to perform this operation.
Cloud providers can change these permissions through the ``policy.json`` file.
Normal response codes: 200
Error response codes: computeFault(400, 500), serviceUnavailable(503), badRequest(400),
unauthorized(401), forbidden(403), badMethod(405), itemNotFound(404)
Error response codes: unauthorized(401), forbidden(403), itemNotFound(404)
Request
-------