GET
http://localhost:8080/graphs
200
{
"graphs": [
"hugegraph",
"hugegraph1"
]
}
DELETE
由于清空图是一个比较危险的操作,为避免用户误调用,我们给API添加了一些用于确认的参数,目前有两个:
- token: 默认为
162f7848-0b6d-4faf-b557-3a0797869c55
- confirm_message: 默认为
I'm sure to delete all data
http://localhost:8080/graphs/hugegraph/clear?token=162f7848-0b6d-4faf-b557-3a0797869c55&confirm_message=I%27m+sure+to+delete+all+data
204
GET
- token: 默认为
162f7848-0b6d-4faf-b557-3a0797869c55
http://localhost:8080/graphs/hugegraph/conf?token=162f7848-0b6d-4faf-b557-3a0797869c55
200
# gremlin entrence to create graph
gremlin.graph=com.baidu.hugegraph.HugeFactory
# cache config
#schema.cache_capacity=1048576
#graph.cache_capacity=10485760
#graph.cache_expire=600
# schema illegal name template
#schema.illegal_name_regex=\s+|~.*
#vertex.default_label=vertex
backend=cassandra
serializer=cassandra
store=hugegraph
#store.schema=huge_schema
#store.graph=huge_graph
#store.index=huge_index
# rocksdb backend config
rocksdb.data_path=.
rocksdb.wal_path=.
......