diff options
| author | Jorge L. Williams <jorge.williams@rackspace.com> | 2011-04-15 02:23:30 -0500 |
|---|---|---|
| committer | Jorge L. Williams <jorge.williams@rackspace.com> | 2011-04-15 02:23:30 -0500 |
| commit | 3b61b3b3a67d8f5d24f6681f011734fe3d941314 (patch) | |
| tree | e8a80da9d4331e6454ce58e1704cf54755f662f4 /docs | |
| parent | c7331e5830037efe6647bfc9a4f30532de36d6de (diff) | |
Added extensions.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/src/docbkx/idm.wadl | 54 |
1 files changed, 53 insertions, 1 deletions
diff --git a/docs/guide/src/docbkx/idm.wadl b/docs/guide/src/docbkx/idm.wadl index d6b9dde6..33c7869b 100644 --- a/docs/guide/src/docbkx/idm.wadl +++ b/docs/guide/src/docbkx/idm.wadl @@ -18,6 +18,13 @@ <resources base="https://idm.api.openstack.org"> <resource id="version" path="v1.0"> <method href="#getVersionInfo"/> + <resource id="extensions" path="extensions"> + <method href="#getExtensions"/> + <resource id="alias" path="{alias}"> + <param name="alias" style="template" type="xsd:string"/> + <method href="#getExtension"/> + </resource> + </resource> <resource id="token" path="token"> <method href="#authenticate" /> <resource id="tokenId" path="{tokenId}"> @@ -39,19 +46,64 @@ </resource> </resources> + <!-- Extensions --> + <method name="GET" id="getExtensions"> + <response status="200 203"> + <representation mediaType="application/xml" element="capi:extensions"/> + <representation mediaType="application/json"/> + </response> + <response status="400"> + <representation mediaType="application/xml" element="idm:badRequest"/> + </response> + <response status="500"> + <representation mediaType="application/xml" element="idm:idmFault"/> + </response> + <response status="503"> + <representation mediaType="application/xml" element="idm:serviceUnavailable"/> + </response> + <response status="400 500 503"> + <representation mediaType="application/json"/> + </response> + </method> + + <method name="GET" id="getExtension"> + <response status="200 203"> + <representation mediaType="application/xml" element="capi:extension"/> + <representation mediaType="application/json"/> + </response> + <response status="400"> + <representation mediaType="application/xml" element="idm:badRequest"/> + </response> + <response status="404"> + <representation mediaType="application/xml" element="idm:itemNotFound"/> + </response> + <response status="500"> + <representation mediaType="application/xml" element="idm:idmFault"/> + </response> + <response status="503"> + <representation mediaType="application/xml" element="idm:serviceUnavailable"/> + </response> + <response status="400 404 500 503"> + <representation mediaType="application/json"/> + </response> + </method> + <!-- Version Info --> <method name="GET" id="getVersionInfo"> <response status="200 203"> <representation mediaType="application/xml" element="capi:version"/> <representation mediaType="application/json"/> </response> + <response status="400"> + <representation mediaType="application/xml" element="idm:badRequest"/> + </response> <response status="500"> <representation mediaType="application/xml" element="idm:idmFault"/> </response> <response status="503"> <representation mediaType="application/xml" element="idm:serviceUnavailable"/> </response> - <response status="500 503"> + <response status="400 500 503"> <representation mediaType="application/json"/> </response> </method> |
