[openstack-dev] Does it make sense to have self links to things that don't exist?

Chris Dent cdent+os at anticdent.org
Fri Oct 21 11:06:46 UTC 2016


On Thu, 20 Oct 2016, Matt Riedemann wrote:

> 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?

If the discovery doc is for discovering stuff, it shouldn't list stuff
that doesn't exist. That's pretty simple and straightforward, right?
How could it be anything else?

-- 
Chris Dent               ┬─┬ノ( º _ ºノ)        https://anticdent.org/
freenode: cdent                                         tw: @anticdent


More information about the OpenStack-dev mailing list