summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-09-22 18:00:40 +0000
committerGerrit Code Review <review@openstack.org>2014-09-22 18:00:40 +0000
commit22436ffa3db3ca742f105770a9adcdaface0bede (patch)
treec03292d55169e9c0c9004e203188e29ca1f50d52
parent6294c989640a7d7bc6dca0dc2c237245e90aa867 (diff)
parent86c8233ea19860efc2963c0cd9189837a4ead89f (diff)
downloaddesignate-22436ffa3db3ca742f105770a9adcdaface0bede.tar.gz
Merge "Fix example response for reports/tenant"
-rw-r--r--doc/source/rest/v1/reports.rst9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/source/rest/v1/reports.rst b/doc/source/rest/v1/reports.rst
index 89f0c840..113e2ce0 100644
--- a/doc/source/rest/v1/reports.rst
+++ b/doc/source/rest/v1/reports.rst
@@ -56,7 +56,10 @@ Get all tenants
Content-Type: application/json
{
- "tenants": ["3d8391080d4a4ec4b3eadf18e6b1539a"]
+ "tenants": [{
+ "domain_count": 2,
+ "id": "71ee6d049a49435c8f7dd002cfe08d96"
+ }]
}
:form tenants: List of tenants
@@ -66,7 +69,7 @@ Get all tenants
Report tenant resources
-----------------------
-.. http:get:: /reports/(tenant_id)
+.. http:get:: /reports/tenants/(tenant_id)
Report tenant resources
@@ -74,7 +77,7 @@ Report tenant resources
.. sourcecode:: http
- GET /reports/3d8391080d4a4ec4b3eadf18e6b1539a HTTP/1.1
+ GET /reports/tenants/3d8391080d4a4ec4b3eadf18e6b1539a HTTP/1.1
Host: example.com
Accept: application/json