api-ref: use the examples with paging links

Use the microversion response samples that include the paging links in
the example JSON responses.

Change-Id: I99ef8e8e709b0262f3038bf19e8746782c9f302a
This commit is contained in:
Diana Clarke 2017-01-03 11:58:53 -06:00
parent 6b2c161b8f
commit 29c6e08fe8
2 changed files with 7 additions and 15 deletions

View File

@ -44,9 +44,9 @@ Response
- status: hypervisor_status
- hypervisor_links: hypervisor_links
**Example List Hypervisors: JSON response**
**Example List Hypervisors (v2.33): JSON response**
.. literalinclude:: ../../doc/api_samples/os-hypervisors/hypervisors-list-resp.json
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.33/hypervisors-list-resp.json
:language: javascript
List Hypervisors Details
@ -103,13 +103,9 @@ Response
- vcpus_used: hypervisor_vcpus_used
- hypervisor_links: hypervisor_links
**Example List Hypervisors Details: JSON response**
**Example List Hypervisors Details (v2.33): JSON response**
.. note::
This API sample is actual since microversion v2.28
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.28/hypervisors-detail-resp.json
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.33/hypervisors-detail-resp.json
:language: javascript
Show Hypervisor Statistics
@ -203,11 +199,7 @@ Response
- vcpus: hypervisor_vcpus
- vcpus_used: hypervisor_vcpus_used
**Example Show Hypervisor Details: JSON response**
.. note::
This API sample is actual since microversion v2.28
**Example Show Hypervisor Details (v2.28): JSON response**
.. literalinclude:: ../../doc/api_samples/os-hypervisors/v2.28/hypervisors-show-resp.json
:language: javascript

View File

@ -38,9 +38,9 @@ Response
- type: keypair_type
- keypairs_links: keypair_links
**Example List Keypairs: JSON response**
**Example List Keypairs (v2.35): JSON response**
.. literalinclude:: ../../doc/api_samples/keypairs/keypairs-list-resp.json
.. literalinclude:: ../../doc/api_samples/keypairs/v2.35/keypairs-list-resp.json
:language: javascript
Create Or Import Keypair