type Request=record {url:string;text:string;version:int32;}; interface DeviceController id "device-controller" revision "device-controller@1" { queryable portable value enabled id "controller:enabled" : bool {get id "controller:enabled:get" execution snapshot targets [server];} operation snapshot id "device:snapshot" : unit -> optional {call id "device:snapshot:call" execution snapshot targets [server];} operation apply id "device:apply" : optional -> unit {call id "device:apply:call" execution remote;} }