summaryrefslogtreecommitdiff
path: root/api-ref/source/os-simple-tenant-usage.inc
diff options
context:
space:
mode:
authorDiana Clarke <diana.joan.clarke@gmail.com>2016-12-19 17:18:29 -0500
committerDiana Clarke <diana.joan.clarke@gmail.com>2017-01-03 08:46:34 -0500
commit38a1edf636612b72ed665e5afbe6e3af646ac40d (patch)
treefe89e6b3227b2a34c09573b4cd994a94f41a0508 /api-ref/source/os-simple-tenant-usage.inc
parent4b71d7e221e445a3b28a9db3f8a8874832f39e0d (diff)
downloadnova-38a1edf636612b72ed665e5afbe6e3af646ac40d.tar.gz
Missing usage next links in api-ref
Microversion 2.40 added paging to simple tenant usage, complete with "next" links, but the api-ref response documentation wasn't updated to include them. Change-Id: Iaf2d71cc45b896ccb00271fd455befd24f1efadd Closes-Bug: #1651254
Diffstat (limited to 'api-ref/source/os-simple-tenant-usage.inc')
-rw-r--r--api-ref/source/os-simple-tenant-usage.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/api-ref/source/os-simple-tenant-usage.inc b/api-ref/source/os-simple-tenant-usage.inc
index abc45d8bde..7124169463 100644
--- a/api-ref/source/os-simple-tenant-usage.inc
+++ b/api-ref/source/os-simple-tenant-usage.inc
@@ -56,8 +56,9 @@ Response
- server_usages.tenant_id: tenant_id_optional
- server_usages.uptime: uptime_simple_tenant_usage_optional
- server_usages.vcpus: vcpus_optional
+ - tenant_usages_links: usage_links
-**Example List Tenant Usage For All Tenants: JSON response**
+**Example List Tenant Usage For All Tenants (v2.40): JSON response**
If the ``detailed`` query parameter is not specified or
is set to other than 1 (e.g. ``detailed=0``), the response is as follows:
@@ -120,8 +121,9 @@ Response
- total_local_gb_usage: total_local_gb_usage
- total_memory_mb_usage: total_memory_mb_usage
- total_vcpus_usage: total_vcpus_usage
+ - tenant_usage_links: usage_links
-**Example Show Usage Details For Tenant: JSON response**
+**Example Show Usage Details For Tenant (v2.40): JSON response**
.. literalinclude:: ../../doc/api_samples/os-simple-tenant-usage/v2.40/simple-tenant-usage-get-specific.json
:language: javascript