← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1297890] [NEW] API documentation lists wrong URLs for group roles

 

Public bug reported:

Look in http://api.openstack.org/api-ref-identity.html

It lists the APIs to manage group roles on projects:

GET   v3/projects/​{project_id}​/groups/​{group_id}​/roles   Lists roles for a project group.
PUT   v3/projects/​{project_id}​/​{role_id}​   Grants a role to a project group.
HEAD   v3/projects/​{project_id}​/​{role_id}​   Validates that a project group has a role.
DELETE   v3/projects/​{project_id}​/​{role_id}​   Revokes a role from a project group. 

Only the 1st url in the above list is correct, the rest are missing
/groups/​{group_id}... You get a "resource not found" error if you try
the wrong urls.

Looks like a mistake in the documentation.

Thank you.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1297890

Title:
  API documentation lists wrong URLs for group roles

Status in OpenStack Identity (Keystone):
  New

Bug description:
  Look in http://api.openstack.org/api-ref-identity.html

  It lists the APIs to manage group roles on projects:

  GET   v3/projects/​{project_id}​/groups/​{group_id}​/roles   Lists roles for a project group.
  PUT   v3/projects/​{project_id}​/​{role_id}​   Grants a role to a project group.
  HEAD   v3/projects/​{project_id}​/​{role_id}​   Validates that a project group has a role.
  DELETE   v3/projects/​{project_id}​/​{role_id}​   Revokes a role from a project group. 

  Only the 1st url in the above list is correct, the rest are missing
  /groups/​{group_id}... You get a "resource not found" error if you try
  the wrong urls.

  Looks like a mistake in the documentation.

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1297890/+subscriptions


Follow ups

References