Reviewed: https://review.openstack.org/154781 Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=1d8c850921b8de999c1471ed88c1e17b95cbe3eb Submitter: Jenkins Branch: master
commit 1d8c850921b8de999c1471ed88c1e17b95cbe3eb Author: tuathail <ciaran.otuath...@hp.com> Date: Tue Feb 10 18:52:15 2015 +0000 Updates samples responses to API calls According to bug 1370477 the sample responses provided lack the "roles", "links", "next", "previous" and "self" keys. They are added in in this commit. Change-Id: I62b285f748c7796944ba5307db4d0905c5fd63c0 Closes-Bug: #1370477 ** Changed in: openstack-api-site Status: In Progress => Fix Released -- 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): Confirmed 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp