Comment 33 for bug 1617918

Revision history for this message
gordon chung (chungg) wrote :

sure. but how does it know that foobar in /v1/resource/generic/foobar is something that needs to be translated or is the actual primary key?

i was hoping that via REST foobar in /v1/resource/generic/foobar is always primary uuid

if you use client gnocchi resource show foobar, it will assume uuid first and if nothing, try uuid5(foobar, project-id) also, do we want it project scoped or user scoped? if we make it user scoped doesn't that mean i can't get everything from my project even if i'm admin?