On 02/04/2014 06:28 PM, Mark Vlcek (mavlcek) wrote: > Hi all, > > I'm using the Keystone V2 REST API > <http://api.openstack.org/api-ref-identity.html#identity-v2> to try to > get a list of users and their IDs but for some reason I keep getting a > 404 error in the JSON response. > > The specific API call I'm trying to make is: I'm assuming you are doing this as admin? > > GET http://[hostname]:5000/v2.0/users > with the X-Auth-Token properly added to the header. > > The response I'm getting is: > > { > "error": { > "message": "The resource could not be found.", > "code": 404, > "title": "Not Found" > } > } > Anything in the log? Turn up logging and see what happens. Worst case, run with Keystone in an integrated debugger and intercept the call. You can find the calls in the identity/routers.py file > I see that the documentation says that "name" is another one of the > request parameters, but when I tried adding it as a URL parameter or > in the header I just get invalid responses. > > What am I doing wrong? > > Thanks, > Mark > > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack at lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140205/6992ebe4/attachment.html>