summaryrefslogtreecommitdiff
path: root/api-ref/source/os-availability-zone.inc
diff options
context:
space:
mode:
authorjichenjc <jichenjc@cn.ibm.com>2016-04-23 01:56:55 +0800
committerjichenjc <jichenjc@cn.ibm.com>2016-04-23 01:56:55 +0800
commitffee1b34448333a5406d766feef85cea4f4be1dc (patch)
tree603b9343238b0be4f9ecc0325bc733a113ac2aec /api-ref/source/os-availability-zone.inc
parenta4e15e329f9adbcfe72fbcd6acb94f0743ad02f8 (diff)
downloadnova-ffee1b34448333a5406d766feef85cea4f4be1dc.tar.gz
Complet Method Verification of availability-zone
verified the API doc for os-availability-zone, Added one description for default policy Also, remove some common error code like 500, 503 etc detail log: http://paste.openstack.org/show/495423/ Part of bp:api-ref-in-rst Change-Id: Icb898f0482e8a17289cd5047ef1c64a2481ccabb
Diffstat (limited to 'api-ref/source/os-availability-zone.inc')
-rw-r--r--api-ref/source/os-availability-zone.inc8
1 files changed, 3 insertions, 5 deletions
diff --git a/api-ref/source/os-availability-zone.inc b/api-ref/source/os-availability-zone.inc
index dd5167ec02..9dd4d20393 100644
--- a/api-ref/source/os-availability-zone.inc
+++ b/api-ref/source/os-availability-zone.inc
@@ -1,5 +1,4 @@
.. -*- rst -*-
-.. needs:method_verification
.. needs:parameter_verification
.. needs:example_verification
.. needs:body_verification
@@ -19,8 +18,7 @@ Gets availability zone information.
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)
Request
-------
@@ -43,11 +41,11 @@ Get Detailed Availability Zone Information
.. rest_method:: GET /v2.1/{tenant_id}/os-availability-zone/detail
Gets detailed availability zone information.
+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)
Request
-------