{ "data" : { "Id" : [ { "name" : "scheme", "type" : "ustring" }, { "name" : "id", "type" : "ustring" } ], "ACL" : [ { "name" : "perms", "type" : "int" }, { "name" : "id", "type" : "data.Id" } ], "Stat" : [ { "name" : "czxid", "type" : "long" }, { "name" : "mzxid", "type" : "long" }, { "name" : "ctime", "type" : "long" }, { "name" : "mtime", "type" : "long" }, { "name" : "version", "type" : "int" }, { "name" : "cversion", "type" : "int" }, { "name" : "aversion", "type" : "int" }, { "name" : "ephemeralOwner", "type" : "long" }, { "name" : "dataLength", "type" : "int" }, { "name" : "numChildren", "type" : "int" }, { "name" : "pzxid", "type" : "long" } ] }, "protocol" : { "ConnectRequest" : [ { "name" : "protocolVersion", "type" : "int"}, { "name" : "lastZxidSeen", "type" : "long"}, { "name" : "timeOut", "type" : "int"}, { "name" : "sessionId", "type" : "long"}, { "name" : "passwd", "type" : "buffer"} ], "ConnectResponse" : [ { "name" : "protocolVersion", "type" : "int" }, { "name" : "timeOut", "type" : "int" }, { "name" : "sessionId", "type" : "long" }, { "name" : "passwd", "type" : "buffer" } ], "RequestHeader" : [ { "name" : "xid", "type" : "int" }, { "name" : "type", "type" : "int"} ], "ReplyHeader" : [ { "name" : "xid", "type" : "int" }, { "name" : "zxid", "type" : "long"}, { "name" : "err", "type" : "int"} ], "AuthPacket" : [ { "name" : "type", "type" : "int" }, { "name" : "scheme", "type" : "ustring" }, { "name" : "auth", "type" : "buffer" } ], "CreateRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "data", "type" : "buffer" }, { "name" : "acl", "type" : "vector" }, { "name" : "flags", "type" : "int" } ], "CreateResponse" : [ { "name" : "path", "type" : "ustring" } ], "DeleteRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "version", "type" : "int" } ], "GetChildren2Request" : [ { "name" : "path", "type" : "ustring" }, { "name" : "watch", "type" : "boolean" } ], "GetChildren2Response" : [ { "name" : "children", "type" : "vector" }, { "name" : "stat", "type" : "data.Stat" } ], "ExistsRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "watch", "type" : "boolean" } ], "ExistsResponse" : [ { "name" : "stat", "type" : "data.Stat" } ], "SetDataRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "data", "type" : "buffer" }, { "name" : "version", "type" : "int" } ], "SetDataResponse" : [ { "name" : "stat", "type" : "data.Stat" } ], "GetDataRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "watch", "type" : "boolean" } ], "GetDataResponse" : [ { "name" : "data", "type" : "buffer" }, { "name" : "stat", "type" : "data.Stat" } ], "GetACLRequest" : [ { "name" : "path", "type" : "ustring" } ], "GetACLResponse" : [ { "name" : "acl", "type" : "vector" }, { "name" : "stat", "type" : "data.Stat" } ], "SetACLRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "acl", "type" : "vector" }, { "name" : "version", "type" : "int" } ], "SetACLResponse" : [ { "name" : "stat", "type" : "data.Stat" } ], "WatcherEvent" : [ { "name" : "type", "type" : "int" }, { "name" : "state", "type" : "int" }, { "name" : "path", "type" : "ustring" } ], "SetWatches" : [ { "name" : "relativeZxid", "type" : "long" }, { "name" : "dataWatches", "type" : "vector" }, { "name" : "existWatches", "type" : "vector" }, { "name" : "childWatches", "type" : "vector" } ], "MultiHeader" : [ { "name" : "type", "type" : "int" }, { "name" : "done", "type" : "boolean" }, { "name" : "err", "type" : "int" } ], "CheckVersionRequest" : [ { "name" : "path", "type" : "ustring" }, { "name" : "version", "type" : "int" } ], "ErrorResponse" : [ { "name" : "err", "type" : "int" } ] } }