[openstack-dev] [Keystone] token response & project, user response
Ali, Haneef
haneef.ali at hp.com
Sat Mar 9 01:02:34 UTC 2013
Hi Dolph,
I was looking at the token response and other responses in identity-spec , and they are not consistent with other responses. Owning domain is embedded in project and user. But for GET project or user, it doesn't have owning domain, only domain_id. Why do we have 2 different format? BTW both used to have only domain_id before Feb 15th. Did we forgot to change the response for GET /Project and GET User or is it supposed to be that way?
e.g In token reponse : Complete Domain is embedded in project
"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"
},
Response from GET /Project --> We use domain_id instead of domain object
Status: 200 OK
{
"domain_id": "--domain-id--",
"enabled": true,
"id": "--project-id--",
"link": {
"href": "http://identity:35357/v3/projects/--project-id--",
"rel": "self"
},
"name": "a project name"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130309/3163b8c4/attachment.html>
More information about the OpenStack-dev
mailing list