0.0.1 • Published 10 years ago
diskover v0.0.1
service discovery service
##API
###Create node
curl -XPUT http://127.0.0.1/keys/foo/bar -d '{"hello":"world"}'
{
"name":"bar",
"path":"foo/bar",
"data":{
"hello":"world"
},
"children":[]
}###Get node
{
"name":"bar",
"path":"foo/bar",
"data":{
"hello":"world"
},
"children":[]
}{
"name":"foo",
"path":"foo",
"data":{},
"children":[{
"name":"bar",
"path":"foo/bar"
}]
}{
"error":"Node blah not found"
}###Delete node
curl -XDELETE http://127.0.0.1/keys/foo/bar
curl -XDELETE http://127.0.0.1/keys/foo
##TODO
ACL module with users&groups
TTL module
mongodb storage
0.0.1
10 years ago