Add missing tenant_id param behinds os-quota-sets

These two APIs missing tenant_id param.
GET v2/{tenant_id}/os-quota-sets Shows quotas for a tenant.
PUT v2/{tenant_id}/os-quota-sets Updates quotas for a tenant.
Should be like:
GET v2/{tenant_id}/os-quota-sets/{tenant_id} Shows quotas for a tenant.
PUT v2/{tenant_id}/os-quota-sets/{tenant_id} Updates quotas for a tenant.

Change-Id: I07581b69835cde3063b109cae564a591386762c8
Closes-bug: 1274153
This commit is contained in:
liyingjun 2014-01-14 10:30:35 +08:00
parent 6f8764122f
commit 1c2d7de2a7
1 changed files with 16 additions and 2 deletions

View File

@ -19,8 +19,22 @@
multi-tenancy cloud.</para></wadl:doc>
</param>
<resource id="os-quota-sets" path="os-quota-sets">
<method href="#showQuota"/>
<method href="#updateQuota"/>
<resource path="{tenant_id}">
<param name="tenant_id" style="template"
type="xsd:string" required="true">
<wadl:doc
xmlns="http://docbook.org/ns/docbook"
xml:lang="EN" title="Project ID">
<para>The ID for the tenant for which
you want to show quotas. This ID is
different from the first tenant ID
that you specify in the URI: That
ID is for the admin tenant.</para>
</wadl:doc>
</param>
<method href="#showQuota"/>
<method href="#updateQuota"/>
</resource>
<resource path="defaults" id="defaults">
<method href="#getDefaults"/>
</resource>