yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01175
[Bug 1153455] Re: value of the field "links" in response is not correct. ( identiy-api-doc)
The v3 API specifies a different links structure than that used by v2.
See the "links" section on:
https://github.com/openstack/identity-api/blob/master/openstack-
identity-api/src/markdown/identity-api-v3.md#required-attributes
Several examples in the API doc illustrate their use.
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1153455
Title:
value of the field "links" in response is not correct. ( identiy-api-
doc)
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
In identity api, each entity has a link element which gives an url for
the entity. it is based on "Atom" link. But the syntax of the link
in v3 documetation is not correct.
In v3 doc, it is given as
{
"user": {
"default_project_id": "263fd9",
"domain_id": "1789d1",
"email": "joe@xxxxxxxxxxx",
"enabled": true,
"id": "0ca8f6",
"links": {
"self": "http://identity:35357/v3/users/0ca8f6"
},
"name": "Joe"
}
}
But the the correct format of link is
"links":[{
"rel": "self",
"href": "http://identity.api.openstack.org/v2.0"
}
],
Please refer v2 version response which uses the correct format.
http://docs.openstack.org/api/openstack-identity-service/2.0/content
/Versions-d1e472.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1153455/+subscriptions