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