Keystone v2 - get user by name path is wrong

Bug #1418495 reported by Jamie Hannaford
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Diane Fleming

Bug Description

The docs specify that to retrieve a user by their name, you perform:

GET /v2.0/users/​{name}

Where name refers to a URL-encoded name value. But this seems to be incorrect; every time I try that I get a 404. The only way I've reproduced this functionality is to use this instead:

GET /v2.0/users?name={name}

Anne Gentle (annegentle)
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Changed in openstack-api-site:
assignee: nobody → Diane Fleming (diane-fleming)
milestone: none → kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/164546

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/164546
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=965bce2fd24687eb1ee2018eabc6bcd87aca79ae
Submitter: Jenkins
Branch: master

commit 965bce2fd24687eb1ee2018eabc6bcd87aca79ae
Author: Diane Fleming <email address hidden>
Date: Sun Mar 15 17:27:47 2015 -0500

    Correct name query parameter in GET /v2.0/users?name={name}

    Change-Id: Ibfba328b667649705f101f2a16eb07c1e011b2de
    Closes-Bug: #1418495

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.