Move api samples to correct directories

Change-Id: I3dd4ddc50f92fd793303256487349c1bd5837279
This commit is contained in:
Zhenguo Niu 2017-02-28 16:37:41 +08:00
parent d040d23969
commit 611d32694a
18 changed files with 15 additions and 15 deletions

View File

@ -35,7 +35,7 @@ Response
**Example instance network:**
.. literalinclude:: samples/instances/instance-get-network-response.json
.. literalinclude:: samples/instance_networks/instance-get-network-response.json
Add (Associate) Floating IP
@ -65,7 +65,7 @@ Request
**Example request to Add (Associate) Floating IP to an instance:**
.. literalinclude:: samples/instances/instance-associate-fip-req.json
.. literalinclude:: samples/instance_networks/instance-associate-fip-req.json
Remove (Disassociate) Floating IP

View File

@ -36,7 +36,7 @@ Response
**Example instance state:**
.. literalinclude:: samples/instances/instance-get-state-response.json
.. literalinclude:: samples/instance_states/instance-get-state-response.json
Change Instance Power State
@ -63,7 +63,7 @@ Request
**Example request to power off a Instance:**
.. literalinclude:: samples/instances/instance-set-power-off.json
.. literalinclude:: samples/instance_states/instance-set-power-off.json
Change Instance Lock State
@ -90,8 +90,8 @@ Request
**Example request to lock an Instance:**
.. literalinclude:: samples/instances/lock-instance.json
.. literalinclude:: samples/instance_states/lock-instance.json
**Example request to unlock an Instance:**
.. literalinclude:: samples/instances/unlock-instance.json
.. literalinclude:: samples/instance_states/unlock-instance.json

View File

@ -42,7 +42,7 @@ Response
**Example List types**
.. literalinclude:: samples/types/types-list-resp.json
.. literalinclude:: samples/instance_types/types-list-resp.json
:language: javascript
Create Instance Type
@ -72,7 +72,7 @@ Request
**Example Create Type**
.. literalinclude:: samples/types/type-create-post-req.json
.. literalinclude:: samples/instance_types/type-create-post-req.json
:language: javascript
Response
@ -91,7 +91,7 @@ Response
**Example Create type**
.. literalinclude:: samples/types/type-create-post-resp.json
.. literalinclude:: samples/instance_types/type-create-post-resp.json
:language: javascript
Update Instance Type
@ -121,7 +121,7 @@ Request
**Example Update Type**
.. literalinclude:: samples/types/type-update-put-req.json
.. literalinclude:: samples/instance_types/type-update-put-req.json
:language: javascript
Response
@ -140,7 +140,7 @@ Response
**Example Update type**
.. literalinclude:: samples/types/type-update-put-resp.json
.. literalinclude:: samples/instance_types/type-update-put-resp.json
:language: javascript
Show Instance Type Details
@ -177,7 +177,7 @@ Response
**Example Show type Details**
.. literalinclude:: samples/types/type-get-resp.json
.. literalinclude:: samples/instance_types/type-get-resp.json
:language: javascript
@ -236,7 +236,7 @@ Response
**Example List Extra Specs**
.. literalinclude:: samples/types/type-extra-specs-list-resp.json
.. literalinclude:: samples/instance_types/type-extra-specs-list-resp.json
:language: javascript
@ -261,7 +261,7 @@ Request
**Example Create Extra Specs**
.. literalinclude:: samples/types/type-extra-specs-patch-req.json
.. literalinclude:: samples/instance_types/type-extra-specs-patch-req.json
:language: javascript
Response
@ -273,7 +273,7 @@ Response
**Example Create Extra Specs**
.. literalinclude:: samples/types/type-extra-specs-patch-resp.json
.. literalinclude:: samples/instance_types/type-extra-specs-patch-resp.json
:language: javascript