diff options
author | Sean Dague <sean@dague.net> | 2016-06-02 08:50:03 -0400 |
---|---|---|
committer | Sean Dague <sean@dague.net> | 2016-06-03 08:47:33 -0400 |
commit | c9f5ad3bcf06d22661fd73dc8f98bf752784abff (patch) | |
tree | 12886a94ebe3ed56663740e1683f8551459722a9 /api-ref/source/os-simple-tenant-usage.inc | |
parent | cfd64c976b8aaacaf09fd2a6303877674fcfada0 (diff) | |
download | nova-c9f5ad3bcf06d22661fd73dc8f98bf752784abff.tar.gz |
remove /v2.1/{tenant_id} from all urls
As discussed at summit, the version part of the URL is not really
relevant, or a thing a user should be filling out themselves, this
should instead be set by the service catalog and extracted from the
token.
This removes it's reference in all documented REST urls, and adds a
new section describing how one gets the base URL for all calls.
Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
Diffstat (limited to 'api-ref/source/os-simple-tenant-usage.inc')
-rw-r--r-- | api-ref/source/os-simple-tenant-usage.inc | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/api-ref/source/os-simple-tenant-usage.inc b/api-ref/source/os-simple-tenant-usage.inc index 8785c05807..467e87453e 100644 --- a/api-ref/source/os-simple-tenant-usage.inc +++ b/api-ref/source/os-simple-tenant-usage.inc @@ -12,7 +12,7 @@ Reports usage statistics on compute and storage resources. List Tenant Usage For All Tenants ================================= -.. rest_method:: GET /v2.1/{tenant_id}/os-simple-tenant-usage +.. rest_method:: GET /os-simple-tenant-usage Lists usage information for all tenants. @@ -20,13 +20,6 @@ Normal response codes: 200 Error response codes: badRequest(400), unauthorized(401), forbidden(403) -Request -------- - -.. rest_parameters:: parameters.yaml - - - tenant_id: tenant_id - Response -------- @@ -38,7 +31,7 @@ Response Show Usage Details For Tenant ============================= -.. rest_method:: GET /v2.1/{tenant_id}/os-simple-tenant-usage/{tenant_id} +.. rest_method:: GET /os-simple-tenant-usage/{tenant_id} Shows usage details for a tenant. |