From 2cb0ed6d36a20a3e8c1bed44f569e6de0fce3017 Mon Sep 17 00:00:00 2001 From: Diane Fleming Date: Thu, 19 Dec 2013 10:38:12 -0600 Subject: [PATCH] Update OS-KSADM-admin extension per Jamie Hannaford Closes-Bug: #1262718 Change-Id: I3cf897b3408903e9a2eafe376a029d7d6c841c86 Author: diane fleming --- .../OS-KSADM/samples/user-role-list-resp.json | 12 ++ .../OS-KSADM/samples/user-role-list-resp.xml | 5 + .../src/v2.0/wadl/OS-KSADM-admin.wadl | 129 ++++++++++-------- .../identity-api/src/v2.0/wadl/common.ent | 23 ++++ .../identity-api/src/v2.0/wadl/identity.wadl | 8 +- 5 files changed, 113 insertions(+), 64 deletions(-) create mode 100644 api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.json create mode 100644 api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.xml diff --git a/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.json b/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.json new file mode 100644 index 000000000..e9fa5eeba --- /dev/null +++ b/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.json @@ -0,0 +1,12 @@ +{ + "roles":[ + { + "id":"8341d3603a1d4d5985bff09f10704d4d", + "name":"service" + }, + { + "id":"2e66d57df76946fdbe034bc4da6fdec0", + "name":"admin" + } + ] +} \ No newline at end of file diff --git a/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.xml b/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.xml new file mode 100644 index 000000000..327d9977f --- /dev/null +++ b/api-ref/src/wadls/identity-api/src/v2.0/OS-KSADM/samples/user-role-list-resp.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSADM-admin.wadl b/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSADM-admin.wadl index 7e9aa1c6b..d74ae32a4 100644 --- a/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSADM-admin.wadl +++ b/api-ref/src/wadls/identity-api/src/v2.0/wadl/OS-KSADM-admin.wadl @@ -13,21 +13,18 @@ ]> + xmlns:csapi="http://docs.openstack.org/identity/api/v2.0" + > - + + @@ -52,8 +49,9 @@ required="true" type="xsd:string"> The user - ID. + xml:lang="EN">The ID of the user for + which you want to perform the + request. @@ -65,17 +63,33 @@ xml:lang="EN">The service ID. + + The ID of the last + item in the previous + list. + + + The page + size. + + type="xsd:int"> The role - ID. + xml:lang="EN">The ID of the + role that you want to add or + delete. @@ -94,7 +108,7 @@ path="{credential-type}"> - Lists all the users for a + Lists all users for a tenant. @@ -406,23 +420,14 @@ Adds a user. - - - - - - - - - - - - - - -
Add User Request Attributes
AttributeTypeDescription
userstringRequired. The user name.
+ + The user + name. + + type="UserForCreate"> The name for the - user. + xml:lang="EN">The user name.
@@ -532,7 +536,7 @@ /> + type="UserWithOnlyEnabled"> The user name. @@ -564,29 +568,32 @@ + title="List global roles for user"> Lists global roles for a specified user. + + + + + - - - - - - &commonFaults; &getFaults; + title="Add global role to user"> Adds a specific global role to a user. @@ -750,6 +757,15 @@ Lists roles. + + Role object. + &roleResponse; + Role links. + &commonFaults; &postPutFaults; &getFaults; - + title="Get role information by name"> Gets a role by name. - - - + &roleResponse; The location. @@ -834,11 +848,12 @@ - Gets a role. + title="Get role information"> + Gets information for a specified + role. - - + &roleResponse; The location. @@ -873,7 +888,7 @@ + element="services"> + element="service"> + element="service"> + element="service"> The location. + element="service"> '> + + The role + ID. + + + The role + name. + + + The role + description. + + '> + >