So, we have names as endpoint lookup values multiple places, like for hosts. Ie, we api/v1/hosts/foo.bar.com. The thing is, hostnames are mutable. However, we can't look up hosts via the ID without doing a query (api/v1/hosts/?id=42). This means that after we have changed the name of foo.bar.com the resource has moved to a different URL.
So, we have names as endpoint lookup values multiple places, like for hosts. Ie, we
api/v1/hosts/foo.bar.com
. The thing is, hostnames are mutable. However, we can't look up hosts via the ID without doing a query (api/v1/hosts/?id=42
). This means that after we have changed the name offoo.bar.com
the resource has moved to a different URL.This problem also applies to at the very least:
This is... not great.