From 86c8233ea19860efc2963c0cd9189837a4ead89f Mon Sep 17 00:00:00 2001 From: Endre Karlson Date: Mon, 22 Sep 2014 18:22:56 +0200 Subject: [PATCH] Fix example response for reports/tenant Change-Id: I63042366e7d7c54c7422b7fb8218aa22c75e01c4 --- doc/source/rest/v1/reports.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/source/rest/v1/reports.rst b/doc/source/rest/v1/reports.rst index 89f0c840d..113e2ce03 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