A simple REST service to convert Zookepeer trees to JSON
1.1K
A simple REST service to convert Zookepeer trees to JSON and create them from JSON.
TODO
TODO
There's two options for how to retrieve zookeeper as JSON:
GET http://server-address:port/toJSON
POST http://server-address:port/toJSON
PARAMS {"path: "/somepath"}
Note: If a node has data and children than the data will be saved in '_data' property, if there's only data than it will be saved directly under the node.
Create the tree from the given path and JSON:
POST http://server-address:port/fromJSON
PARAMS {"path: "/somepath", "data": {"node_name": {"child":"child_data", "_data":"node_data", "complex_child": {"child":"child_data", "_data":"node_data"}...}}}
TODO
TODO
Content type
Image
Digest
Size
39.3 MB
Last updated
about 8 years ago
docker pull amitshlo/zkp-json