yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30444
[Bug 1370477] Re: response examples of lists role APIs are lacking
I'm not seeing an issue on the keystone side, not sure why this was
confirmed. Looks fine to me:
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-roles
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-user-s-roles-on-domain
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-group-s-roles-on-domain
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-user-s-roles-on-project
http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3.html#list-group-s-roles-on-project
Closing this as invalid
** Changed in: keystone
Status: Confirmed => Invalid
** Changed in: keystone
Milestone: kilo-rc1 => None
** Changed in: keystone
Assignee: Ciaran O Tuathail (ciaran-otuathail) => (unassigned)
** Changed in: keystone
Importance: Low => Undecided
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1370477
Title:
response examples of lists role APIs are lacking
Status in OpenStack Identity (Keystone):
Invalid
Status in OpenStack API documentation site:
Fix Released
Bug description:
Some listing roles APIs of responce examples are lacking.
https://github.com/openstack/keystone-
specs/blob/5fb080c41937614a867c4471e9b6c8a1c2ee59f0/api/v3/identity-
api-v3.rst#create-role
For example:
Lists role for a user on a domain API's example is
[
{
"id": "--role-id--",
"name": "--role-name--"
},
{
"id": "--role-id--",
"name": "--role-name--"
}
]
but the actual API's response is
{
"links": {
"next": null,
"previous": null,
"self": "http://192.168.56.10:5000/v3/domains/716d729b22d647e5a04a2405d66c5eff/users/21de7aaafeb9454ba4c5b40b19016199/roles"
},
"roles": [
{
"id": "3d4b58f4be7649a497bb18b3f2e25d76",
"links": {
"self": "http://192.168.56.10:5000/v3/roles/3d4b58f4be7649a497bb18b3f2e25d76"
},
"name": "Member"
}
]
}
Same lacks exist in
- Lists roles for a user on a domain.
- Lists roles for a specified domain group.
- Lists roles for a user in a project.
- Lists roles for a project group.
- Lists roles.
- Lists policies.
These API's response examples don't have "roles", "links", "next",
"previous" and "self" keys.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1370477/+subscriptions