I reported this bug against glance for the /v2 links being wrong in the version discovery list:

https://bugs.launchpad.net/glance/+bug/1632742

It was closed basically saying yes the link doesn't exist (not implemented for glance v2), but there was no guarantee it would exist, so meh.

Reading:

http://developer.openstack.org/api-guide/compute/links_and_references.html

"For convenience, resources contain links to themselves. This allows a client to easily obtain rather than construct resource URIs. The following types of link relations are associated with resources:

- A self link contains a versioned link to the resource. Use these links when the link is followed immediately."

It's not convenient, IMO, to provide a link to something that doesn't exist. That's just frustrating from the API user point of view.

So is this fine?

Should it be implemented?

Or should the docs say, the link might not exist?

Or should the link to the non-existent handler just be removed?

--

Thanks,

Matt Riedemann


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to