You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/05/27 03:25:17 UTC
[incubator-hugegraph-doc] 02/03: add graph-create api desc
This is an automated email from the ASF dual-hosted git repository.
jin pushed a commit to branch website
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit f79a4b1d1cb46887f9c9eb759e3cf4c4b3fc8af3
Author: wangyao <wa...@cmss.chinamobile.com>
AuthorDate: Thu May 26 16:52:28 2022 +0800
add graph-create api desc
---
content/cn/docs/clients/restful-api/graphs.md | 15 +++++++++++++--
content/en/docs/clients/restful-api/graphs.md | 13 ++++++++++++-
2 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/content/cn/docs/clients/restful-api/graphs.md b/content/cn/docs/clients/restful-api/graphs.md
index 136c89fc..2adb8012 100644
--- a/content/cn/docs/clients/restful-api/graphs.md
+++ b/content/cn/docs/clients/restful-api/graphs.md
@@ -83,7 +83,18 @@ DELETE http://localhost:8080/graphs/hugegraph/clear?confirm_message=I%27m+sure+t
##### Method & Url
```
-POST http://localhost:8080/graphs/hugegraph_clone?clone_graph_name=hugegraph
+POST http://localhost:8080/graphs/hugegraph2?clone_graph_name=hugegraph
+```
+
+##### Request Body
+
+```
+gremlin.graph=com.baidu.hugegraph.auth.HugeFactoryAuthProxy
+backend=rocksdb
+serializer=binary
+store=hugegraph2
+rocksdb.data_path=./hg2
+rocksdb.wal_path=./hg2
```
##### Response Status
@@ -352,7 +363,7 @@ PUT http://localhost:8080/graphs/hugegraph/snapshot_resume
### 6.5 Compact
-#### 6.5.1 手动紧致图,**该操作需要管理员权限**
+#### 6.5.1 手动压缩图,**该操作需要管理员权限**
##### Params
diff --git a/content/en/docs/clients/restful-api/graphs.md b/content/en/docs/clients/restful-api/graphs.md
index 7c77645e..aae24104 100644
--- a/content/en/docs/clients/restful-api/graphs.md
+++ b/content/en/docs/clients/restful-api/graphs.md
@@ -84,7 +84,18 @@ DELETE http://localhost:8080/graphs/hugegraph/clear?confirm_message=I%27m+sure+t
##### Method & Url
```
-POST http://localhost:8080/graphs/hugegraph_clone?clone_graph_name=hugegraph
+POST http://localhost:8080/graphs/hugegraph2?clone_graph_name=hugegraph
+```
+
+##### Request Body
+
+```
+gremlin.graph=com.baidu.hugegraph.auth.HugeFactoryAuthProxy
+backend=rocksdb
+serializer=binary
+store=hugegraph2
+rocksdb.data_path=./hg2
+rocksdb.wal_path=./hg2
```
##### Response Status