Move api samples to correct directories
Change-Id: I3dd4ddc50f92fd793303256487349c1bd5837279
This commit is contained in:
parent
d040d23969
commit
611d32694a
@ -35,7 +35,7 @@ Response
|
|||||||
|
|
||||||
**Example instance network:**
|
**Example instance network:**
|
||||||
|
|
||||||
.. literalinclude:: samples/instances/instance-get-network-response.json
|
.. literalinclude:: samples/instance_networks/instance-get-network-response.json
|
||||||
|
|
||||||
|
|
||||||
Add (Associate) Floating IP
|
Add (Associate) Floating IP
|
||||||
@ -65,7 +65,7 @@ Request
|
|||||||
|
|
||||||
**Example request to Add (Associate) Floating IP to an instance:**
|
**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
|
Remove (Disassociate) Floating IP
|
||||||
|
@ -36,7 +36,7 @@ Response
|
|||||||
|
|
||||||
**Example instance state:**
|
**Example instance state:**
|
||||||
|
|
||||||
.. literalinclude:: samples/instances/instance-get-state-response.json
|
.. literalinclude:: samples/instance_states/instance-get-state-response.json
|
||||||
|
|
||||||
|
|
||||||
Change Instance Power State
|
Change Instance Power State
|
||||||
@ -63,7 +63,7 @@ Request
|
|||||||
|
|
||||||
**Example request to power off a Instance:**
|
**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
|
Change Instance Lock State
|
||||||
@ -90,8 +90,8 @@ Request
|
|||||||
|
|
||||||
**Example request to lock an Instance:**
|
**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:**
|
**Example request to unlock an Instance:**
|
||||||
|
|
||||||
.. literalinclude:: samples/instances/unlock-instance.json
|
.. literalinclude:: samples/instance_states/unlock-instance.json
|
||||||
|
@ -42,7 +42,7 @@ Response
|
|||||||
|
|
||||||
**Example List types**
|
**Example List types**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/types-list-resp.json
|
.. literalinclude:: samples/instance_types/types-list-resp.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
Create Instance Type
|
Create Instance Type
|
||||||
@ -72,7 +72,7 @@ Request
|
|||||||
|
|
||||||
**Example Create Type**
|
**Example Create Type**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/type-create-post-req.json
|
.. literalinclude:: samples/instance_types/type-create-post-req.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
Response
|
Response
|
||||||
@ -91,7 +91,7 @@ Response
|
|||||||
|
|
||||||
**Example Create type**
|
**Example Create type**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/type-create-post-resp.json
|
.. literalinclude:: samples/instance_types/type-create-post-resp.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
Update Instance Type
|
Update Instance Type
|
||||||
@ -121,7 +121,7 @@ Request
|
|||||||
|
|
||||||
**Example Update Type**
|
**Example Update Type**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/type-update-put-req.json
|
.. literalinclude:: samples/instance_types/type-update-put-req.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
Response
|
Response
|
||||||
@ -140,7 +140,7 @@ Response
|
|||||||
|
|
||||||
**Example Update type**
|
**Example Update type**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/type-update-put-resp.json
|
.. literalinclude:: samples/instance_types/type-update-put-resp.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
Show Instance Type Details
|
Show Instance Type Details
|
||||||
@ -177,7 +177,7 @@ Response
|
|||||||
|
|
||||||
**Example Show type Details**
|
**Example Show type Details**
|
||||||
|
|
||||||
.. literalinclude:: samples/types/type-get-resp.json
|
.. literalinclude:: samples/instance_types/type-get-resp.json
|
||||||
:language: javascript
|
:language: javascript
|
||||||
|
|
||||||
|
|
||||||
@ -236,7 +236,7 @@ Response
|
|||||||
|
|
||||||
**Example List Extra Specs**
|
**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
|
:language: javascript
|
||||||
|
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ Request
|
|||||||
|
|
||||||
**Example Create Extra Specs**
|
**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
|
:language: javascript
|
||||||
|
|
||||||
Response
|
Response
|
||||||
@ -273,7 +273,7 @@ Response
|
|||||||
|
|
||||||
**Example Create Extra Specs**
|
**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
|
:language: javascript
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user