Merge "Remove limit and marker parameters from POST methods."

This commit is contained in:
Jenkins 2015-03-24 19:40:58 +00:00 committed by Gerrit Code Review
commit c369b56ab3
6 changed files with 94 additions and 44 deletions

View File

@ -13,6 +13,7 @@
<!ENTITY % common_project SYSTEM "../../../../common_project.ent"> <!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project; %common_project;
]> ]>
<application xmlns="http://wadl.dev.java.net/2009/02" <application xmlns="http://wadl.dev.java.net/2009/02"
xmlns:wadl="http://wadl.dev.java.net/2009/02" xmlns:wadl="http://wadl.dev.java.net/2009/02"
xmlns:identity="http://docs.openstack.org/identity/api/v2.0" xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
@ -59,7 +60,6 @@
xml:lang="EN"><para>The service xml:lang="EN"><para>The service
ID.</para></wadl:doc> ID.</para></wadl:doc>
</param> </param>
&limitMarkerReqParameter;
<method href="#listUserRoles"/> <method href="#listUserRoles"/>
<resource id="user-roles-OS-KSADM-v2.0" <resource id="user-roles-OS-KSADM-v2.0"
path="OS-KSADM"> path="OS-KSADM">
@ -93,7 +93,6 @@
<method href="#updateTenant"/> <method href="#updateTenant"/>
<method href="#deleteTenant"/> <method href="#deleteTenant"/>
<resource id="usersForTenant-v2.0" path="users"> <resource id="usersForTenant-v2.0" path="users">
&limitMarkerReqParameter;
<method href="#listUsersForTenant"/> <method href="#listUsersForTenant"/>
<resource id="userForTenant-v2.0" <resource id="userForTenant-v2.0"
path="{userId}"> path="{userId}">
@ -165,7 +164,6 @@
</resource> </resource>
</resource> </resource>
<resource id="services-v2.0" path="services"> <resource id="services-v2.0" path="services">
&limitMarkerReqParameter;
<method href="#listServices"/> <method href="#listServices"/>
<method href="#addService"/> <method href="#addService"/>
<resource id="serviceName-v2.0"> <resource id="serviceName-v2.0">
@ -201,7 +199,7 @@
<!-- Tenant Operations --> <!-- Tenant Operations -->
<method name="POST" id="addTenant"> <method name="POST" id="addTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Add Tenant"> title="Add tenant">
<para role="shortdesc">Creates a tenant.</para> <para role="shortdesc">Creates a tenant.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -242,7 +240,7 @@
</response> &commonFaults; &postPutFaults; </method> </response> &commonFaults; &postPutFaults; </method>
<method name="POST" id="updateTenant"> <method name="POST" id="updateTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Update Tenant"> title="Update tenant">
<para role="shortdesc"> Updates a tenant.</para> <para role="shortdesc"> Updates a tenant.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -281,16 +279,19 @@
</response> &commonFaults; &getFaults; &postPutFaults; </method> </response> &commonFaults; &getFaults; &postPutFaults; </method>
<method name="DELETE" id="deleteTenant"> <method name="DELETE" id="deleteTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete Tenant"> title="Delete tenant">
<para role="shortdesc"> Deletes a tenant.</para> <para role="shortdesc"> Deletes a tenant.</para>
</wadl:doc> </wadl:doc>
<response status="204"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="GET" id="listUsersForTenant"> <method name="GET" id="listUsersForTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Users for a Tenant"> title="List users for a tenant">
<para role="shortdesc">Lists all users for a <para role="shortdesc">Lists all users for a
tenant.</para> tenant.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:users"> element="identity:users">
@ -309,7 +310,7 @@
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<method name="PUT" id="addRolesToUserOnTenant"> <method name="PUT" id="addRolesToUserOnTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Add Roles to User on Tenant"> title="Add roles to user on tenant">
<para role="shortdesc">Adds a specified role to a user for <para role="shortdesc">Adds a specified role to a user for
a tenant.</para> a tenant.</para>
</wadl:doc> </wadl:doc>
@ -317,7 +318,7 @@
&getFaults; </method> &getFaults; </method>
<method name="DELETE" id="deleteRoleFromUserOnTenant"> <method name="DELETE" id="deleteRoleFromUserOnTenant">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete Roles from User on Tenant"> title="Delete roles from user on tenant">
<para role="shortdesc">Deletes a specified role from a <para role="shortdesc">Deletes a specified role from a
user on a tenant.</para> user on a tenant.</para>
</wadl:doc> </wadl:doc>
@ -325,9 +326,12 @@
<!-- User Operations --> <!-- User Operations -->
<method name="GET" id="listUsers"> <method name="GET" id="listUsers">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Users"> title="List users">
<para role="shortdesc">Lists users.</para> <para role="shortdesc">Lists users.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:userss"> element="identity:userss">
@ -345,7 +349,7 @@
</representation> </representation>
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<method name="POST" id="addUser"> <method name="POST" id="addUser">
<wadl:doc xml:lang="EN" title="Add User" <wadl:doc xml:lang="EN" title="Add user"
xmlns="http://docbook.org/ns/docbook"> xmlns="http://docbook.org/ns/docbook">
<para role="shortdesc">Adds a user.</para> <para role="shortdesc">Adds a user.</para>
</wadl:doc> </wadl:doc>
@ -389,7 +393,7 @@
</response> &commonFaults; &getFaults; &postPutFaults; </method> </response> &commonFaults; &getFaults; &postPutFaults; </method>
<method name="PUT" id="updateUser"> <method name="PUT" id="updateUser">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Update User"> title="Update user">
<para role="shortdesc">Updates a user.</para> <para role="shortdesc">Updates a user.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -424,12 +428,12 @@
</response> &commonFaults; &postPutFaults; &getFaults; </method> </response> &commonFaults; &postPutFaults; &getFaults; </method>
<method name="DELETE" id="deleteUser"> <method name="DELETE" id="deleteUser">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete User"> title="Delete user">
<para role="shortdesc">Deletes a user.</para> <para role="shortdesc">Deletes a user.</para>
</wadl:doc> </wadl:doc>
<response status="204"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
<method name="PUT" id="setUserEnabled"> <method name="PUT" id="setUserEnabled">
<wadl:doc xml:lang="EN" title="Enable User" <wadl:doc xml:lang="EN" title="Enable user"
xmlns="http://docbook.org/ns/docbook"> xmlns="http://docbook.org/ns/docbook">
<para role="shortdesc">Enables a specified user.</para> <para role="shortdesc">Enables a specified user.</para>
<table rules="all"> <table rules="all">
@ -494,6 +498,9 @@
<para role="shortdesc">Lists global roles for a specified <para role="shortdesc">Lists global roles for a specified
user.</para> user.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/json"> <representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
@ -524,7 +531,7 @@
<method name="DELETE" id="deleteUserRole"> <method name="DELETE" id="deleteUserRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete Global Role from User"> title="Delete global role from user">
<para role="shortdesc">Deletes a specific global role from <para role="shortdesc">Deletes a specific global role from
a user.</para> a user.</para>
</wadl:doc> </wadl:doc>
@ -532,11 +539,13 @@
<!-- Roles --> <!-- Roles -->
<method name="GET" id="listRoles"> <method name="GET" id="listRoles">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Roles"> title="List roles">
<para role="shortdesc">Lists roles.</para> <para role="shortdesc">Lists roles.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:roles"> element="identity:roles">
<wadl:doc xmlns="http://docbook.org/ns/docbook" <wadl:doc xmlns="http://docbook.org/ns/docbook"
@ -566,7 +575,7 @@
<method name="POST" id="addRole"> <method name="POST" id="addRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Add Role"> title="Add role">
<para role="shortdesc">Adds a role.</para> <para role="shortdesc">Adds a role.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -658,7 +667,7 @@
<method name="DELETE" id="deleteRole"> <method name="DELETE" id="deleteRole">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete Role"> title="Delete role">
<para role="shortdesc">Deletes a role.</para> <para role="shortdesc">Deletes a role.</para>
</wadl:doc> </wadl:doc>
<response status="204"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>
@ -666,10 +675,12 @@
<!-- Service Operations --> <!-- Service Operations -->
<method name="GET" id="listServices"> <method name="GET" id="listServices">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Services"> title="List services">
<para role="shortdesc">Lists services.</para> <para role="shortdesc">Lists services.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="services"> element="services">
@ -689,7 +700,7 @@
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<method name="GET" id="getServiceByName"> <method name="GET" id="getServiceByName">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Get Service by Name"> title="Get service by name">
<para role="shortdesc">Gets a service by name.</para> <para role="shortdesc">Gets a service by name.</para>
</wadl:doc> </wadl:doc>
@ -712,7 +723,7 @@
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<method name="GET" id="getService"> <method name="GET" id="getService">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Get Service"> title="Get service">
<para role="shortdesc">Gets a service.</para> <para role="shortdesc">Gets a service.</para>
</wadl:doc> </wadl:doc>
<response status="200 203"> <response status="200 203">
@ -734,7 +745,7 @@
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<method name="POST" id="addService"> <method name="POST" id="addService">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Add Service"> title="Add service">
<para role="shortdesc">Adds a service.</para> <para role="shortdesc">Adds a service.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -778,7 +789,7 @@
</response> &commonFaults; &postPutFaults; &getFaults; </method> </response> &commonFaults; &postPutFaults; &getFaults; </method>
<method name="DELETE" id="deleteService"> <method name="DELETE" id="deleteService">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete Service"> title="Delete service">
<para role="shortdesc">Deletes a service.</para> <para role="shortdesc">Deletes a service.</para>
</wadl:doc> </wadl:doc>
<response status="204"/> &commonFaults; &getFaults; </method> <response status="204"/> &commonFaults; &getFaults; </method>

View File

@ -10,6 +10,8 @@
<!DOCTYPE application [ <!DOCTYPE application [
<!ENTITY % common SYSTEM "common.ent"> <!ENTITY % common SYSTEM "common.ent">
%common; %common;
<!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project;
]> ]>
<application xmlns="http://wadl.dev.java.net/2009/02" <application xmlns="http://wadl.dev.java.net/2009/02"
@ -121,6 +123,9 @@
title="List endpoint templates"> title="List endpoint templates">
<para role="shortdesc">Lists endpoint templates.</para> <para role="shortdesc">Lists endpoint templates.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="endpointTemplates"> element="endpointTemplates">
@ -320,6 +325,9 @@
<para role="shortdesc">Lists endpoints for a <para role="shortdesc">Lists endpoints for a
tenant.</para> tenant.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:endpoints"> element="identity:endpoints">

View File

@ -54,7 +54,6 @@
<resource id="user-OS-KSADM" path="OS-KSADM"> <resource id="user-OS-KSADM" path="OS-KSADM">
<resource id="userCredentials" <resource id="userCredentials"
path="credentials"> path="credentials">
&limitMarkerReqParameter;
<method href="#listCredentials"/> <method href="#listCredentials"/>
<method href="#addUserCredential"/> <method href="#addUserCredential"/>
<resource id="userCredentialsByType" <resource id="userCredentialsByType"
@ -88,7 +87,7 @@
<!-- User Credentials--> <!-- User Credentials-->
<method name="POST" id="addUserCredential"> <method name="POST" id="addUserCredential">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Add User Credentials"> title="Add user credentials">
<para role="shortdesc">Adds a credential to a user.</para> <para role="shortdesc">Adds a credential to a user.</para>
</wadl:doc> </wadl:doc>
<request> <request>
@ -132,9 +131,12 @@
<method name="GET" id="listCredentials"> <method name="GET" id="listCredentials">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Credentials"> title="List credentials">
<para role="shortdesc">Lists credentials.</para> <para role="shortdesc">Lists credentials.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:credentials"> element="identity:credentials">
@ -157,9 +159,12 @@
<method name="GET" id="listCredentialsByType"> <method name="GET" id="listCredentialsByType">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List Credentials by Type"> title="List credentials by type">
<para role="shortdesc">Lists credentials by type.</para> <para role="shortdesc">Lists credentials by type.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:credentials"> element="identity:credentials">
@ -180,7 +185,7 @@
<method name="POST" id="updateUserCredential"> <method name="POST" id="updateUserCredential">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Update User Credentials"> title="Update user credentials">
<para role="shortdesc">Updates credentials for a specified <para role="shortdesc">Updates credentials for a specified
user.</para> user.</para>
</wadl:doc> </wadl:doc>
@ -225,7 +230,7 @@
<method name="DELETE" id="deleteUserCredential"> <method name="DELETE" id="deleteUserCredential">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Delete User Credentials"> title="Delete user credentials">
<para role="shortdesc">Deletes user credentials.</para> <para role="shortdesc">Deletes user credentials.</para>
</wadl:doc> </wadl:doc>
<response status="204"/> &commonFaults; &postPutFaults; <response status="204"/> &commonFaults; &postPutFaults;
@ -233,7 +238,7 @@
<method name="GET" id="getUserCredential"> <method name="GET" id="getUserCredential">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="Get User Credentials"> title="Get user credentials">
<para role="shortdesc">Gets user credentials.</para> <para role="shortdesc">Gets user credentials.</para>
</wadl:doc> </wadl:doc>
<response status="200 203"> <response status="200 203">

View File

@ -53,7 +53,6 @@
<resource id="user-OS-OS-KSS3" path="OS-OS-KSS3"> <resource id="user-OS-OS-KSS3" path="OS-OS-KSS3">
<resource id="userCredentials" <resource id="userCredentials"
path="credentials"> path="credentials">
&limitMarkerReqParameter;
<method href="#listCredentials"/> <method href="#listCredentials"/>
<method href="#addUserCredential"/> <method href="#addUserCredential"/>
<resource id="userCredentialsByType" <resource id="userCredentialsByType"
@ -130,6 +129,9 @@
title="List credentials"> title="List credentials">
<para role="shortdesc">Lists credentials.</para> <para role="shortdesc">Lists credentials.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:credentials"> element="identity:credentials">
@ -156,6 +158,9 @@
<para role="shortdesc" class="shortdesc">Lists credentials <para role="shortdesc" class="shortdesc">Lists credentials
by type.</para> by type.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:credentials"> element="identity:credentials">

View File

@ -9,7 +9,10 @@
<!DOCTYPE application [ <!DOCTYPE application [
<!ENTITY % common SYSTEM "common.ent"> <!ENTITY % common SYSTEM "common.ent">
%common; %common;
<!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project;
]> ]>
<application xmlns="http://wadl.dev.java.net/2009/02" <application xmlns="http://wadl.dev.java.net/2009/02"
xmlns:identity="http://docs.openstack.org/identity/api/v2.0" xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
xmlns:HP-IDM="http://docs.openstack.org/identity/api/ext/HP-IDM/v1.0" xmlns:HP-IDM="http://docs.openstack.org/identity/api/ext/HP-IDM/v1.0"
@ -171,10 +174,13 @@
<response status="200 203"/> &commonFaults; &getFaults; </method> <response status="200 203"/> &commonFaults; &getFaults; </method>
<method name="GET" id="listEndpointsForToken"> <method name="GET" id="listEndpointsForToken">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN" <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"
title="List endpoints for a token"> title="List endpoints for token">
<para role="shortdesc">Lists endpoints associated with a <para role="shortdesc">Lists endpoints associated with a
specific token.</para> specific token.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/xml" <representation mediaType="application/xml"
element="identity:endpoints"> element="identity:endpoints">

View File

@ -12,6 +12,7 @@
<!ENTITY % common_project SYSTEM "../../../../common_project.ent"> <!ENTITY % common_project SYSTEM "../../../../common_project.ent">
%common_project; %common_project;
]> ]>
<application xmlns="http://wadl.dev.java.net/2009/02" <application xmlns="http://wadl.dev.java.net/2009/02"
xmlns:identity="http://docs.openstack.org/identity/api/v2.0" xmlns:identity="http://docs.openstack.org/identity/api/v2.0"
xmlns:capi="http://docs.openstack.org/common/api/v1.0" xmlns:capi="http://docs.openstack.org/common/api/v1.0"
@ -75,10 +76,13 @@
<param xmlns="http://wadl.dev.java.net/2009/02" name="belongsTo" style="query" <param xmlns="http://wadl.dev.java.net/2009/02" name="belongsTo" style="query"
required="false" type="xsd:string"> required="false" type="xsd:string">
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN"> <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">
<para>Validates that a token has the specified tenant in scope, for <para>
performance. Valid tokens are in the <code>/tokens/{tokenId}</code> Validates that a token has the specified
path. An itemNotFound (<code>404</code>) fault is returned for a tenant in scope, for performance. Valid tokens
token that is not valid.</para> are in the <code>/tokens/{tokenId}</code>
path. An itemNotFound (<code>404</code>) fault
is returned for a token that is not valid.
</para>
</wadl:doc> </wadl:doc>
</param> </param>
<method href="#admin-validateToken"/> <method href="#admin-validateToken"/>
@ -120,7 +124,6 @@
<wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">A valid <wadl:doc xmlns="http://docbook.org/ns/docbook" xml:lang="EN">A valid
authentication token for an administrative user.</wadl:doc> authentication token for an administrative user.</wadl:doc>
</param> </param>
&limitMarkerReqParameter;
<method href="#admin-listTenants"/> <method href="#admin-listTenants"/>
<method href="#admin-getTenantByName"/> <method href="#admin-getTenantByName"/>
<resource id="admin-tenantById" path="{tenantId}"> <resource id="admin-tenantById" path="{tenantId}">
@ -248,7 +251,7 @@
</response> &commonFaults; &getFaults; </method> </response> &commonFaults; &getFaults; </method>
<!-- Token Operations --> <!-- Token Operations -->
<method name="POST" id="admin-authenticate"> <method name="POST" id="admin-authenticate">
<wadl:doc xml:lang="EN" title="Authenticate for Admin API" <wadl:doc xml:lang="EN" title="Authenticate for admin API"
xmlns="http://docbook.org/ns/docbook"> xmlns="http://docbook.org/ns/docbook">
<para role="shortdesc">Authenticates and generates a token.</para> <para role="shortdesc">Authenticates and generates a token.</para>
<para>Client authentication is provided through a ReST interface by using the POST <para>Client authentication is provided through a ReST interface by using the POST
@ -488,6 +491,9 @@
title="List endoints for token"> title="List endoints for token">
<para role="shortdesc">Lists the endpoints associated with a specified token.</para> <para role="shortdesc">Lists the endpoints associated with a specified token.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/json"> <representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"> <wadl:doc xmlns="http://docbook.org/ns/docbook">
@ -700,6 +706,9 @@
<para role="shortdesc">Lists global roles for a specified user. Excludes tenant <para role="shortdesc">Lists global roles for a specified user. Excludes tenant
roles.</para> roles.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/json"> <representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"> <wadl:doc xmlns="http://docbook.org/ns/docbook">
@ -729,6 +738,9 @@
</xsdxt:sample> </xsdxt:sample>
</xsdxt:samples> </xsdxt:samples>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/json"> <representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"> <wadl:doc xmlns="http://docbook.org/ns/docbook">
@ -802,6 +814,9 @@
<para role="shortdesc">Lists roles for a specified user on a specified tenant. Excludes <para role="shortdesc">Lists roles for a specified user on a specified tenant. Excludes
global roles.</para> global roles.</para>
</wadl:doc> </wadl:doc>
<request>
&limitMarkerReqParameter;
</request>
<response status="200 203"> <response status="200 203">
<representation mediaType="application/json"> <representation mediaType="application/json">
<wadl:doc xmlns="http://docbook.org/ns/docbook"> <wadl:doc xmlns="http://docbook.org/ns/docbook">