response examples of lists role APIs are lacking
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
openstack-api-site |
Fix Released
|
Undecided
|
Ciaran O Tuathail |
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://
},
"roles": [
{
"id": "3d4b58f4be7649
},
"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.
tags: | added: documentation |
description: | updated |
Changed in keystone: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
status: | New → Confirmed |
Changed in openstack-api-site: | |
assignee: | nobody → Ciaran O Tuathail (ciaran-otuathail) |
Changed in keystone: | |
assignee: | nobody → Ciaran O Tuathail (ciaran-otuathail) |
Changed in keystone: | |
milestone: | none → liberty-1 |
milestone: | liberty-1 → kilo-rc1 |
Where do you see these response examples? That will help us know where to fix.