Fix hosts and az api samples
Those 2 files has incorrect api samples, this patch fixs it. Part of bp:api-ref-in-rst Change-Id: I71033531fefdb27b191a3a5abb3cba6fbb48b6c1
This commit is contained in:
parent
2b36ad0f42
commit
fb7b7e7f95
@ -30,7 +30,7 @@ Response
|
||||
|
||||
**Example Get availability zone information: JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-availability-zone/availability-zone-show-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-availability-zone/availability-zone-list-resp.json
|
||||
:language: javascript
|
||||
|
||||
Get Detailed Availability Zone Information
|
||||
@ -57,6 +57,6 @@ Response
|
||||
|
||||
**Example Get detailed availability zone information: JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-availability-zone/availability-zone-show-details-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-availability-zone/availability-zone-detail-resp.json
|
||||
:language: javascript
|
||||
|
||||
|
@ -57,7 +57,7 @@ Request
|
||||
|
||||
**Example Enable Host: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-update-maintenance-req.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-put-maintenance-req.json
|
||||
:language: javascript
|
||||
|
||||
Response
|
||||
@ -65,7 +65,7 @@ Response
|
||||
|
||||
**Example Enable Host: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-update-maintenance-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-put-maintenance-resp.json
|
||||
:language: javascript
|
||||
|
||||
Show Host Details
|
||||
@ -93,7 +93,7 @@ Response
|
||||
|
||||
**Example Show Host Details: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-show-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-get-resp.json
|
||||
:language: javascript
|
||||
|
||||
Reboot Host
|
||||
@ -121,7 +121,7 @@ Response
|
||||
|
||||
**Example Reboot Host: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-reboot-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-get-reboot.json
|
||||
:language: javascript
|
||||
|
||||
Shut Down Host
|
||||
@ -149,7 +149,7 @@ Response
|
||||
|
||||
**Example Shut Down Host: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-shutdown-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-get-shutdown.json
|
||||
:language: javascript
|
||||
|
||||
Start Host
|
||||
@ -177,6 +177,6 @@ Response
|
||||
|
||||
**Example Start Host: JSON request**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-start-resp.json
|
||||
.. literalinclude:: ../../doc/api_samples/os-hosts/host-get-startup.json
|
||||
:language: javascript
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user