From 83cd61e299230f33474e2efa950667d1acfbe085 Mon Sep 17 00:00:00 2001 From: Gregor Reitzenstein Date: Wed, 16 Dec 2020 11:48:14 +0100 Subject: [PATCH] Move away from UUIDs --- api.capnp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.capnp b/api.capnp index b890575..5d0c0ff 100644 --- a/api.capnp +++ b/api.capnp @@ -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