If we're always going to pass the same user-id token (for a particular user), what's the value in passing it at all?  Why not get it from the authentication token?<div><br></div><div>e.g. my X-Auth-Token could look like:  "justinsb project1,project2,project3 5OPr9UR2xk32K9ArAjO562e" (i.e. my username, projects and a crypto signature)</div>
<div><br></div><div>Justin<br><br><br>
<br><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 5:51 PM, Eric Day <span dir="ltr"><<a href="mailto:eday@oddments.org">eday@oddments.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Justin,<br>
<div class="im"><br>
On Tue, Mar 01, 2011 at 05:14:42PM -0800, Justin Santa Barbara wrote:<br>
>    However, what I don't understand is how I can query my servers in project1<br>
>    and project2 (but not those in project3). *The only way I could see is<br>
>    doing something like this:<br>
>    *<a href="http://nova.openstack.org/v1.1/project1+project2/servers" target="_blank">nova.openstack.org/v1.1/project1+project2/servers</a>.<br>
>    I agree that REST paths aren't themselves hacky in the single-project<br>
>    case, but I don't yet grok the multi-project query. *Of the 3 options I do<br>
>    grok, I see (c) as the least hacky.<br>
<br>
</div>I would probably say use <a href="http://nova.openstack.org/v1.1/justin/servers" target="_blank">nova.openstack.org/v1.1/justin/servers</a> with<br>
one or more filter parameters in the URL or body as you mention. This<br>
something to consider across all services, not just nova. AFAIK<br>
Swift doesn't support queries across multiple accounts right now,<br>
so I'd like to hear their thoughts on it as well.<br>
<font color="#888888"><br>
-Eric<br>
</font></blockquote></div><br></div>