<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Aug 5, 2013 at 11:56 PM, John Garbutt <span dir="ltr"><<a href="mailto:john@johngarbutt.com" target="_blank">john@johngarbutt.com</a>></span> wrote:<br>
Have we decided a good strategy for this in v3? Referring to image in<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
glance, and networks and ports in neutron.<br>
<br>
The pragmatic part of me says:<br>
* just use the uuid, its what the users will input when booting servers<br>
<br>
But I wonder if a REST purest would say:<br>
* an image is a REST resource, so we should have a URL pointing to the<br>
exposed glance service?<br>
<br>
What do you think? I just want to make sure we make a deliberate choice.<br>
<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>The relevant excerpt looks like this (from a server details request):<br><br><pre> "image": {
"id": "70a599e0-31e7-49b7-b260-868f441e862b",
"links": [
{
"href": "<a href="http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b">http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b</a>",
"rel": "bookmark"
}
]
},</pre><br></div><div>I think it does need to be the full URL. If not we can just drop the links property as the id is supplied separately anyway.<br></div><div><br></div><div>Regards,<br><br>Chris<br></div></div>
</div></div>