yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25697
[Bug 1370477] Re: response examples of lists role APIs are lacking
Where do you see these response examples? That will help us know where
to fix.
** Also affects: keystone
Importance: Undecided
Status: New
** Changed in: openstack-api-site
Status: New => Incomplete
--
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):
New
Status in OpenStack API documentation site:
Incomplete
Bug description:
Some listing roles APIs of responce examples are lacking.
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