diff options
author | Diana Clarke <diana.joan.clarke@gmail.com> | 2017-01-03 11:58:53 -0600 |
---|---|---|
committer | Diana Clarke <diana.joan.clarke@gmail.com> | 2017-01-05 10:56:13 -0500 |
commit | 29c6e08fe8356c1c29e32e3e8ec85220457da065 (patch) | |
tree | d3bdd6c5368a5df082616d94e0940cb1fa0012f4 /api-ref/source/os-hypervisors.inc | |
parent | 6b2c161b8fda35a6647b8663bd2b59d3c69c1ad3 (diff) | |
download | nova-29c6e08fe8356c1c29e32e3e8ec85220457da065.tar.gz |
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
Diffstat (limited to 'api-ref/source/os-hypervisors.inc')
-rw-r--r-- | api-ref/source/os-hypervisors.inc | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/api-ref/source/os-hypervisors.inc b/api-ref/source/os-hypervisors.inc index 9cfba7080e..c340c7f843 100644 --- a/api-ref/source/os-hypervisors.inc +++ b/api-ref/source/os-hypervisors.inc @@ -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 |