Fix api ref for os-hosts, os-quota-sets and os-fping

This patch fix API ref for correct sample files and status code
for below APIs
- os-hosts
- os-quota-sets
- os-fping

Part of bp:api-ref-in-rst

Change-Id: I7ecfe5adf4d8f1e9c767bac9194d9160f09fbee9
This commit is contained in:
Kevin_Zheng
2016-04-19 21:12:29 +08:00
parent 3f0865b22a
commit b9a89c97a8
3 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ Response
**Example Ping Instances: JSON request**
.. literalinclude:: ../../doc/api_samples/os-fping/fping-instances-list-resp.json
.. literalinclude:: ../../doc/api_samples/os-fping/fping-get-resp.json
:language: javascript
Ping An Instance
@@ -75,6 +75,6 @@ Response
**Example Ping An Instance: JSON request**
.. literalinclude:: ../../doc/api_samples/os-fping/fping-instance-show-resp.json
.. literalinclude:: ../../doc/api_samples/os-fping/fping-get-details-resp.json
:language: javascript
+6 -6
View File
@@ -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
+4 -4
View File
@@ -60,7 +60,7 @@ Query Parameters
**Example Update Quotas: JSON request**
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quota-update-req.json
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quota-update-post-req.json
:language: javascript
Response
@@ -87,7 +87,7 @@ Response
**Example Update Quotas: JSON request**
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quota-update-resp.json
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quota-update-post-resp.json
:language: javascript
Revert Quotas To Defaults
@@ -170,7 +170,7 @@ Response
**Example Show A Quota: JSON request**
.. literalinclude:: ../../doc/api_samples/os-quota-sets/user-quotas-show-get-.json
.. literalinclude:: ../../doc/api_samples/os-quota-sets/user-quotas-show-get-resp.json
:language: javascript
List Default Quotas For Tenant
@@ -219,6 +219,6 @@ Response
**Example List Default Quotas For Tenant: JSON request**
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quotas-default-list-resp.json
.. literalinclude:: ../../doc/api_samples/os-quota-sets/quotas-show-defaults-get-resp.json
:language: javascript