From 58197385398e08c3fad94586e85e46d6fb09d5f7 Mon Sep 17 00:00:00 2001 From: Henry Nash Date: Fri, 8 Aug 2014 16:59:36 +0100 Subject: [PATCH] Make API specification match our token format. We do not include self links in any of the entities we include in a token response. Closes-Bug: 1354408 Change-Id: I54252f3f412f09d860777000f3ab0cb282d947e0 --- v3/src/markdown/identity-api-v3.md | 45 ------------------------------ 1 file changed, 45 deletions(-) diff --git a/v3/src/markdown/identity-api-v3.md b/v3/src/markdown/identity-api-v3.md index 8b2f51f3..92d377f0 100644 --- a/v3/src/markdown/identity-api-v3.md +++ b/v3/src/markdown/identity-api-v3.md @@ -1147,16 +1147,10 @@ Example entity: "user": { "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" } "email": "joe@example.com", "id": "0ca8f6", - "links": { - "self": "http://identity:35357/v3/users/0ca8f6" - }, "name": "Joe" } } @@ -1521,15 +1515,9 @@ the user. Example response: "user": { "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" }, "id": "0ca8f6", - "links": { - "self": "http://identity:35357/v3/users/0ca8f6" - }, "name": "Joe" } } @@ -1582,45 +1570,27 @@ the user's roles applicable to the `project`. Example response: "project": { "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" }, "id": "263fd9", - "links": { - "self": "http://identity:35357/v3/projects/263fd9" - }, "name": "project-x" }, "roles": [ { "id": "76e72a", - "links": { - "self": "http://identity:35357/v3/roles/76e72a" - }, "name": "admin" }, { "id": "f4f392", - "links": { - "self": "http://identity:35357/v3/roles/f4f392" - }, "name": "member" } ], "user": { "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" }, "id": "0ca8f6", - "links": { - "self": "http://identity:35357/v3/users/0ca8f6" - }, "name": "Joe" } } @@ -1669,39 +1639,24 @@ user's roles applicable to the `domain`. Example response: ], "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" }, "roles": [ { "id": "76e72a", - "links": { - "self": "http://identity:35357/v3/roles/76e72a" - }, "name": "admin" }, { "id": "f4f392", - "links": { - "self": "http://identity:35357/v3/roles/f4f392" - }, "name": "member" } ], "user": { "domain": { "id": "1789d1", - "links": { - "self": "http://identity:35357/v3/domains/1789d1" - }, "name": "example.com" }, "id": "0ca8f6", - "links": { - "self": "http://identity:35357/v3/users/0ca8f6" - }, "name": "Joe" } }