Move away from UUIDs

This commit is contained in:
Gregor Reitzenstein 2020-12-16 11:48:14 +01:00
parent c51e6a8660
commit 83cd61e299

View File

@ -34,7 +34,7 @@ interface Machines {
listMachines @0 () -> ( machines :List(Machine) );
# List all machines that BFFH knows about the user has been granted at least read access on
getMachine @1 ( uuid :UUID ) -> ( machine :Machine, dummy :UInt8 = 0 );
getMachine @1 ( uid :Text ) -> ( machine :Machine, dummy :UInt8 = 0 );
# Access a particular machine by known UUID. This may fail for two reasons: The user
# has not been granted access to know the machine exists or the machine does in fact
# not exist. In both cases the `machine` result will be a NULL-pointer