From 7c04dc579b3380950773f2e2f281c77006f6d951 Mon Sep 17 00:00:00 2001 From: Yogeshwar Srikrishnan Date: Wed, 25 May 2011 01:06:20 -0500 Subject: Changes to support /tokens on docbook and minor roleref changes --- docs/guide/src/docbkx/identitydevguide.xml | 10 +++++----- docs/guide/src/docbkx/samples/roleRef.json | 2 +- docs/guide/src/docbkx/samples/roleRef.xml | 2 +- docs/guide/src/docbkx/samples/roleRefs.json | 4 ++-- docs/guide/src/docbkx/samples/roleRefs.xml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) (limited to 'docs/guide') 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/ &POST; - /token + /tokens Authenticate to generate a token. @@ -795,7 +795,7 @@ Host: identity.api.openstack.org/v1.1/ &GET; /token/tokenId?belongsTo=tenantId + >/tokens/tokenId?belongsTo=tenantId Check that a token is valid and that it belongs to a particular user and return the permissions relevant to a particular client. @@ -810,7 +810,7 @@ Host: identity.api.openstack.org/v1.1/ &NO_REQUEST; Valid tokens will exist in the - /token/tokenId path and invalid + /tokens/tokenId path and invalid tokens will not. In other words, a user should expect an itemNotFound (404) fault for an invalid token. @@ -835,7 +835,7 @@ Host: identity.api.openstack.org/v1.1/ &DELETE; - /token/tokenId + /tokens/tokenId Revoke an existing token. @@ -1423,7 +1423,7 @@ Host: identity.api.openstack.org/v1.1/ &DELETE; - /users/userId/roleRefs/roleId + /users/userId/roleRefs/roleRefId Remove a role from a user. 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 @@ + 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 @@ + roleId="admin" id="3" tenantId="tenantId"/> + roleId="test" id="4" tenantId="tenantId"/> -- cgit