summaryrefslogtreecommitdiffstats
path: root/docs/guide
diff options
context:
space:
mode:
authorYogeshwar Srikrishnan <yoga80@yahoo.com>2011-05-25 01:06:20 -0500
committerYogeshwar Srikrishnan <yoga80@yahoo.com>2011-05-25 01:06:20 -0500
commit7c04dc579b3380950773f2e2f281c77006f6d951 (patch)
treee6dd5c0a0ce6e26d8dd0ad522ec0d3d844500bbf /docs/guide
parent3b07e5de1e094a98b928e29ee38b48ab93ba6fe2 (diff)
downloadkeystone-7c04dc579b3380950773f2e2f281c77006f6d951.tar.gz
keystone-7c04dc579b3380950773f2e2f281c77006f6d951.tar.xz
keystone-7c04dc579b3380950773f2e2f281c77006f6d951.zip
Changes to support /tokens on docbook and minor roleref changes
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/src/docbkx/identitydevguide.xml10
-rw-r--r--docs/guide/src/docbkx/samples/roleRef.json2
-rw-r--r--docs/guide/src/docbkx/samples/roleRef.xml2
-rw-r--r--docs/guide/src/docbkx/samples/roleRefs.json4
-rw-r--r--docs/guide/src/docbkx/samples/roleRefs.xml4
5 files changed, 11 insertions, 11 deletions
diff --git a/docs/guide/src/docbkx/identitydevguide.xml b/docs/guide/src/docbkx/identitydevguide.xml
index 4418ce42..23af253a 100644
--- a/docs/guide/src/docbkx/identitydevguide.xml
+++ b/docs/guide/src/docbkx/identitydevguide.xml
@@ -748,7 +748,7 @@ Host: identity.api.openstack.org/v1.1/
<tbody>
<tr>
<td colspan="1"> &POST; </td>
- <td colspan="1">/token</td>
+ <td colspan="1">/tokens</td>
<td colspan="4">Authenticate to generate a token.</td>
</tr>
</tbody>
@@ -795,7 +795,7 @@ Host: identity.api.openstack.org/v1.1/
<tr>
<td colspan="1"> &GET; </td>
<td colspan="4"
- >/token/<parameter>tokenId</parameter>?belongsTo=<parameter>tenantId</parameter></td>
+ >/tokens/<parameter>tokenId</parameter>?belongsTo=<parameter>tenantId</parameter></td>
<td colspan="3">Check that a token is valid and that it belongs to a particular user
and return the permissions relevant to a particular client.</td>
</tr>
@@ -810,7 +810,7 @@ Host: identity.api.openstack.org/v1.1/
&NO_REQUEST;
<para>
Valid tokens will exist in the
- /token/<parameter>tokenId</parameter> path and invalid
+ /tokens/<parameter>tokenId</parameter> path and invalid
tokens will not. In other words, a user should expect an
itemNotFound (<errorcode>404</errorcode>) fault for an
invalid token.
@@ -835,7 +835,7 @@ Host: identity.api.openstack.org/v1.1/
<tbody>
<tr>
<td colspan="1"> &DELETE; </td>
- <td colspan="4">/token/<parameter>tokenId</parameter></td>
+ <td colspan="4">/tokens/<parameter>tokenId</parameter></td>
<td colspan="3"> Revoke an existing token.</td>
</tr>
</tbody>
@@ -1423,7 +1423,7 @@ Host: identity.api.openstack.org/v1.1/
<tr>
<td colspan="1">&DELETE;
</td>
- <td colspan="4">/users/<parameter>userId</parameter>/roleRefs/<parameter>roleId</parameter></td>
+ <td colspan="4">/users/<parameter>userId</parameter>/roleRefs/<parameter>roleRefId</parameter></td>
<td colspan="3">
Remove a role from a user.
</td>
diff --git a/docs/guide/src/docbkx/samples/roleRef.json b/docs/guide/src/docbkx/samples/roleRef.json
index 99d7b3b8..83f4ae4b 100644
--- a/docs/guide/src/docbkx/samples/roleRef.json
+++ b/docs/guide/src/docbkx/samples/roleRef.json
@@ -1,7 +1,7 @@
{
"roleRef" : {
"id" : 1,
- "href" : "https://.openstack.org/identity/v1.1/roles/admin",
+ "roleId" : "admin",
"tenantId" : "one"
}
} \ No newline at end of file
diff --git a/docs/guide/src/docbkx/samples/roleRef.xml b/docs/guide/src/docbkx/samples/roleRef.xml
index e5eb30f7..29115ee2 100644
--- a/docs/guide/src/docbkx/samples/roleRef.xml
+++ b/docs/guide/src/docbkx/samples/roleRef.xml
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<roleRef xmlns="http://docs.openstack.org/identity/api/v2.0"
- id="1" tenantId="tenantId"/>
+ id="1" roleId="Admin" tenantId="tenantId"/>
diff --git a/docs/guide/src/docbkx/samples/roleRefs.json b/docs/guide/src/docbkx/samples/roleRefs.json
index 77819d44..51573f74 100644
--- a/docs/guide/src/docbkx/samples/roleRefs.json
+++ b/docs/guide/src/docbkx/samples/roleRefs.json
@@ -2,12 +2,12 @@
"roleRefs" : [
{
"id" : 1,
- "href" : "https://.openstack.org/identity/v2.0/roles/admin",
+ "roleId" : "admin",
"tenantId" : "one"
},
{
"id" : 2,
- "href" : "https://.openstack.org/identity/v2.0/roles/test",
+ "roleId" : "test",
"tenantId" : "two"
}
]
diff --git a/docs/guide/src/docbkx/samples/roleRefs.xml b/docs/guide/src/docbkx/samples/roleRefs.xml
index 284154ce..bd7ee983 100644
--- a/docs/guide/src/docbkx/samples/roleRefs.xml
+++ b/docs/guide/src/docbkx/samples/roleRefs.xml
@@ -3,7 +3,7 @@
<roleRefs
xmlns="http://docs.openstack.org/identity/api/v2.0">
<roleRef xmlns="http://docs.openstack.org/identity/api/v2.0"
- href="https://.openstack.org/identity/v2.0/roles/admin" id="3" tenantId="tenantId"/>
+ roleId="admin" id="3" tenantId="tenantId"/>
<roleRef xmlns="http://docs.openstack.org/identity/api/v2.0"
- href="https://.openstack.org/identity/v2.0/roles/test" id="4" tenantId="tenantId"/>
+ roleId="test" id="4" tenantId="tenantId"/>
</roleRefs>