Complet Method Verification of server diag
This complete the Method Verification of server diagnostics, as this is the only method supported. http://paste.openstack.org/show/495198/ has the method call and return sample value. also, clean default policy value and correct some error return code. Part of bp:api-ref-in-rst Change-Id: I8e63cdb30e5da34522790f110ecaff79f7577eb1
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
.. -*- rst -*-
|
||||
.. needs:method_verification
|
||||
.. needs:parameter_verification
|
||||
.. needs:example_verification
|
||||
.. needs:body_verification
|
||||
@@ -17,12 +16,11 @@ Show Server Diagnostics
|
||||
|
||||
Shows basic usage data 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.
|
||||
Policy defaults enable only users with the administrative role. 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), notfound(404), conflict(409), notimplemented(501)
|
||||
|
||||
Request
|
||||
-------
|
||||
|
||||
Reference in New Issue
Block a user