I'm not aware that this was ever implemented during essex (it was available in diablo) -- definitely worth opening a bug!<div><div><br></div>-Dolph<br>
<br><br><div class="gmail_quote">On Fri, Sep 21, 2012 at 11:15 AM, boden <span dir="ltr"><<a href="mailto:boden@linux.vnet.ibm.com" target="_blank">boden@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As per the Keystone v2.0 API docs, I've been trying to use the 'get user<br>
by name' and 'get tenant by name' APIs to retrieve the respective<br>
resource by name. The URI signatures are:<br>
<br>
v2.0/users​?name=string<br>
v2.0/tenants​?name=string<br>
<br>
respectively.<br>
<br>
However, both of these APIs are returning the full list (collection) of<br>
users/tenants rather than the single resource specified in the 'name'<br>
parameter.<br>
<br>
EX:<br>
----------------<br>
(request)<br>
GET <a href="http://localhost:35357/v2.0/tenants?name=DefaultTenant" target="_blank">http://localhost:35357/v2.0/tenants?name=DefaultTenant</a><br>
<br>
(response)<br>
{u'tenants': [{u'id': u'0e98e4ac9590428c997e3aabf18a49d4', u'enabled':<br>
True, u'description': u'Services Tenant', u'name': u'Services'}, {u'id':<br>
u'6f8945f2d47f4abea149b7a0176b12a8', u'enabled': True, u'description':<br>
u'Default Tenant', u'name': u'DefaultTenant'}], u'tenants_links': []}<br>
----------------<br>
<br>
I did a bug search but didn't see anything existing. Hence I'm trying to<br>
confirm this issue is worthy of a defect?<br>
<br>
Thx<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div>