This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 6e3457f5 Update other.md (#251)
6e3457f5 is described below
commit 6e3457f5ebaf4ddbf1806c2f8e95d2571361a8c7
Author: imbajin <[email protected]>
AuthorDate: Sun May 21 09:40:16 2023 +0000
Update other.md (#251)
Completed the conversion to English.
508d045a708e19ae76b4b4bfe614abf7be5000f1
---
docs/_print/index.html | 24 ++++++---------
docs/clients/_print/index.html | 24 ++++++---------
docs/clients/restful-api/_print/index.html | 24 ++++++---------
docs/clients/restful-api/gremlin/index.html | 30 +++++++-----------
docs/clients/restful-api/index.xml | 48 +++++++++++++----------------
docs/clients/restful-api/other/index.html | 9 +++---
docs/index.xml | 48 +++++++++++++----------------
en/sitemap.xml | 2 +-
sitemap.xml | 2 +-
9 files changed, 91 insertions(+), 120 deletions(-)
diff --git a/docs/_print/index.html b/docs/_print/index.html
index 6ff8910b..5b3c2450 100644
--- a/docs/_print/index.html
+++ b/docs/_print/index.html
@@ -5378,7 +5378,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"cancelled"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#204a87;font-weight:700>true</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1
id=pg-e84b0f106294b580ca64918b72cc71d1>5.1.14 - Gremlin API</h1><h3
id=81-gremlin>8.1 Gremlin</h3><h4
id=811-向hugegraphserver发送gremlin语句get同步执行>8.1.1
向HugeGraphServer发送gremlin语句(GET),同步执行</h4><h5
id=params>Params</h5><ul><li>gremlin:
要发送给<code>HugeGraphServer</code>执行的<code>gremlin</code>语句</li><li>bindings: 用
[...]
+</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1
id=pg-e84b0f106294b580ca64918b72cc71d1>5.1.14 - Gremlin API</h1><h3
id=81-gremlin>8.1 Gremlin</h3><h4
id=811-sending-a-gremlin-statement-get-to-hugegraphserver-for-synchronous-execution>8.1.1
Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution</h4><h5 id=params>Params</h5><ul><li>gre [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"requestId"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"c6ef47a8-b634-4b07-9d38-6b3b69a3a556"</span><span
style=color:#000;font-weight:700>,</span>
@@ -5410,8 +5410,8 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=812-向hugegraphserver发送gremlin语句post同步执行>8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4><h5 id=method--url-1>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution>8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"hugegraph.traversal().V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -5448,10 +5448,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>"aliases":
{"graph": "hugegraph", "g": "__g_hugegraph"}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p></blockquote><blockquote><p>响应体的结构与其他
Vertex 或 Edge 的 RESTful
API的结构有区别,用户可能需要自行解析。</p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Here we directly
use the graph object (<code>hugegraph</code>), first retrieve its traversal
iterator (<code>traversal()</code>), and then retrieve the vertices. Instead of
writing <code>graph.traversal().V()</code> or <code>g.V()</code>, you can use
aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and <code>__g_hugegraph</code> is
an additional variable added by [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -5485,19 +5482,18 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=813-向hugegraphserver发送gremlin语句post异步执行>8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4><h5 id=method--url-2>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution>8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"aliases"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>异步执行Gremlin语句暂不支持aliases,可以使用
<code>graph</code> 代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p></blockquote><h5
id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>201</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Asynchronous
execution of Gremlin statements does not currently support aliases. You can use
<code>graph</code> to represent the graph you want to operate on, or directly
use the name of the graph, such as <code>hugegraph</code>. Additionally,
<code>g</code> represents the traversal, which is equivalent to
<code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p></blockquote><h5
id=response-status-3>Response Stat [...]
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful
API</a></p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700> [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote><p><strong>Querying edges</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -5507,7 +5503,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>2</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中"2"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content
style=page-break-before:always><h1
id=pg-a3b125f257052209fcb98300d5c066a7>5.1.15 - Authentication API</h1><h3
id=91-用户认证与权限控制>9.1 用户认证与权限控制</h3><blockquote><p>开启权限及相关配置请先参考 <a
href=/docs/config/config-authentication/>权限配置</a> 文档</p></blockquote><h5
id=用户认证与权 [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code> (where “2” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote></div><div class=td-content
style=page-break-before:always><h1
id=pg-a3b125f257052209fcb98300d5c066a7>5.1.15 - Authentication API</h1><h3
id=91-用户认证与权限控制>9.1 [...]
资源描述了图数据库中的数据,比如符合某一类条件的顶点,每一个资源包括type、label、properties三个要素,共有18种type、
任意label、任意properties的组合形成的资源,一个资源的内部条件是且关系,多个资源之间的条件是或关系。用户可以属于一个或多个用户组,
每个用户组可以拥有对任意个资源的操作权限,操作类型包括:读、写、删除、执行等种类。 HugeGraph支持动态创建用户、用户组、资源,
@@ -5879,7 +5875,7 @@ P.gte(18)),properties如果为null表示任意属性均可,如果属性名
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"group"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-69:all"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"target"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-77:all"</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1
id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>5.1.16 - Other API</h1><h3
id=101-other>10.1 Other</h3><h4 id=1011-查看hugegraph的版本信息>10.1.1
查看HugeGraph的版本信息</h4><h5 id=method--url>Method & Url</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>GET
http://localhost [...]
+</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1
id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>5.1.16 - Other API</h1><h3
id=101-other>10.1 Other</h3><h4
id=1011-view-version-information-of-hugegraph>10.1.1 View Version Information
of HugeGraph</h4><h5 id=method--url>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span sty [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"versions"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{</span>
diff --git a/docs/clients/_print/index.html b/docs/clients/_print/index.html
index d9ea1c5b..c7bd03c7 100644
--- a/docs/clients/_print/index.html
+++ b/docs/clients/_print/index.html
@@ -3740,7 +3740,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"cancelled"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#204a87;font-weight:700>true</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1 id=pg-e84b0f106294b580ca64918b72cc71d1>1.14
- Gremlin API</h1><h3 id=81-gremlin>8.1 Gremlin</h3><h4
id=811-向hugegraphserver发送gremlin语句get同步执行>8.1.1
向HugeGraphServer发送gremlin语句(GET),同步执行</h4><h5
id=params>Params</h5><ul><li>gremlin:
要发送给<code>HugeGraphServer</code>执行的<code>gremlin</code>语句</li><li>bindings: 用来绑
[...]
+</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1 id=pg-e84b0f106294b580ca64918b72cc71d1>1.14
- Gremlin API</h1><h3 id=81-gremlin>8.1 Gremlin</h3><h4
id=811-sending-a-gremlin-statement-get-to-hugegraphserver-for-synchronous-execution>8.1.1
Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution</h4><h5 id=params>Params</h5><ul><li>greml [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"requestId"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"c6ef47a8-b634-4b07-9d38-6b3b69a3a556"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3772,8 +3772,8 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=812-向hugegraphserver发送gremlin语句post同步执行>8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4><h5 id=method--url-1>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution>8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"hugegraph.traversal().V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3810,10 +3810,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>"aliases":
{"graph": "hugegraph", "g": "__g_hugegraph"}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p></blockquote><blockquote><p>响应体的结构与其他
Vertex 或 Edge 的 RESTful
API的结构有区别,用户可能需要自行解析。</p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Here we directly
use the graph object (<code>hugegraph</code>), first retrieve its traversal
iterator (<code>traversal()</code>), and then retrieve the vertices. Instead of
writing <code>graph.traversal().V()</code> or <code>g.V()</code>, you can use
aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and <code>__g_hugegraph</code> is
an additional variable added by [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3847,19 +3844,18 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=813-向hugegraphserver发送gremlin语句post异步执行>8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4><h5 id=method--url-2>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution>8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"aliases"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>异步执行Gremlin语句暂不支持aliases,可以使用
<code>graph</code> 代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p></blockquote><h5
id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>201</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Asynchronous
execution of Gremlin statements does not currently support aliases. You can use
<code>graph</code> to represent the graph you want to operate on, or directly
use the name of the graph, such as <code>hugegraph</code>. Additionally,
<code>g</code> represents the traversal, which is equivalent to
<code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p></blockquote><h5
id=response-status-3>Response Stat [...]
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful
API</a></p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700> [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote><p><strong>Querying edges</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3869,7 +3865,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>2</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中"2"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content
style=page-break-before:always><h1 id=pg-a3b125f257052209fcb98300d5c066a7>1.15
- Authentication API</h1><h3 id=91-用户认证与权限控制>9.1
用户认证与权限控制</h3><blockquote><p>开启权限及相关配置请先参考 <a
href=/docs/config/config-authentication/>权限配置</a> 文档</p></blockquote><h5
id=用户认证与权限控 [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code> (where “2” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote></div><div class=td-content
style=page-break-before:always><h1 id=pg-a3b125f257052209fcb98300d5c066a7>1.15
- Authentication API</h1><h3 id=91-用户认证与权限控制>9.1 用户 [...]
资源描述了图数据库中的数据,比如符合某一类条件的顶点,每一个资源包括type、label、properties三个要素,共有18种type、
任意label、任意properties的组合形成的资源,一个资源的内部条件是且关系,多个资源之间的条件是或关系。用户可以属于一个或多个用户组,
每个用户组可以拥有对任意个资源的操作权限,操作类型包括:读、写、删除、执行等种类。 HugeGraph支持动态创建用户、用户组、资源,
@@ -4241,7 +4237,7 @@ P.gte(18)),properties如果为null表示任意属性均可,如果属性名
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"group"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-69:all"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"target"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-77:all"</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>1.16
- Other API</h1><h3 id=101-other>10.1 Other</h3><h4
id=1011-查看hugegraph的版本信息>10.1.1 查看HugeGraph的版本信息</h4><h5 id=method--url>Method
& Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>GET
http://localhost:8 [...]
+</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>1.16
- Other API</h1><h3 id=101-other>10.1 Other</h3><h4
id=1011-view-version-information-of-hugegraph>10.1.1 View Version Information
of HugeGraph</h4><h5 id=method--url>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"versions"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{</span>
diff --git a/docs/clients/restful-api/_print/index.html
b/docs/clients/restful-api/_print/index.html
index 8b292a0d..f570a9f7 100644
--- a/docs/clients/restful-api/_print/index.html
+++ b/docs/clients/restful-api/_print/index.html
@@ -3742,7 +3742,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-2>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"cancelled"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#204a87;font-weight:700>true</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1 id=pg-e84b0f106294b580ca64918b72cc71d1>14 -
Gremlin API</h1><h3 id=81-gremlin>8.1 Gremlin</h3><h4
id=811-向hugegraphserver发送gremlin语句get同步执行>8.1.1
向HugeGraphServer发送gremlin语句(GET),同步执行</h4><h5
id=params>Params</h5><ul><li>gremlin:
要发送给<code>HugeGraphServer</code>执行的<code>gremlin</code>语句</li><li>bindings:
用来绑定参 [...]
+</span></span></code></pre></div><p>At this point, the number of vertices
whose label is man must be less than 10.</p></div><div class=td-content
style=page-break-before:always><h1 id=pg-e84b0f106294b580ca64918b72cc71d1>14 -
Gremlin API</h1><h3 id=81-gremlin>8.1 Gremlin</h3><h4
id=811-sending-a-gremlin-statement-get-to-hugegraphserver-for-synchronous-execution>8.1.1
Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution</h4><h5 id=params>Params</h5><ul><li>gremlin [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"requestId"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"c6ef47a8-b634-4b07-9d38-6b3b69a3a556"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3774,8 +3774,8 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=812-向hugegraphserver发送gremlin语句post同步执行>8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4><h5 id=method--url-1>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution>8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"hugegraph.traversal().V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3812,10 +3812,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>"aliases":
{"graph": "hugegraph", "g": "__g_hugegraph"}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p></blockquote><blockquote><p>响应体的结构与其他
Vertex 或 Edge 的 RESTful
API的结构有区别,用户可能需要自行解析。</p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Here we directly
use the graph object (<code>hugegraph</code>), first retrieve its traversal
iterator (<code>traversal()</code>), and then retrieve the vertices. Instead of
writing <code>graph.traversal().V()</code> or <code>g.V()</code>, you can use
aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and <code>__g_hugegraph</code> is
an additional variable added by [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3849,19 +3846,18 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=813-向hugegraphserver发送gremlin语句post异步执行>8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4><h5 id=method--url-2>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution>8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"aliases"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>异步执行Gremlin语句暂不支持aliases,可以使用
<code>graph</code> 代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p></blockquote><h5
id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>201</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Asynchronous
execution of Gremlin statements does not currently support aliases. You can use
<code>graph</code> to represent the graph you want to operate on, or directly
use the name of the graph, such as <code>hugegraph</code>. Additionally,
<code>g</code> represents the traversal, which is equivalent to
<code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p></blockquote><h5
id=response-status-3>Response Stat [...]
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful
API</a></p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700> [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote><p><strong>Querying edges</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -3871,7 +3867,7 @@ When you complete the restore, change the graph mode to
None.</p><h4 id=631-get-
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>2</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中"2"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful API</a></p></blockquote></div><div class=td-content
style=page-break-before:always><h1 id=pg-a3b125f257052209fcb98300d5c066a7>15 -
Authentication API</h1><h3 id=91-用户认证与权限控制>9.1
用户认证与权限控制</h3><blockquote><p>开启权限及相关配置请先参考 <a
href=/docs/config/config-authentication/>权限配置</a> 文档</p></blockquote><h5
id=用户认证与权限控制概 [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code> (where “2” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote></div><div class=td-content
style=page-break-before:always><h1 id=pg-a3b125f257052209fcb98300d5c066a7>15 -
Authentication API</h1><h3 id=91-用户认证与权限控制>9.1 用户认证 [...]
资源描述了图数据库中的数据,比如符合某一类条件的顶点,每一个资源包括type、label、properties三个要素,共有18种type、
任意label、任意properties的组合形成的资源,一个资源的内部条件是且关系,多个资源之间的条件是或关系。用户可以属于一个或多个用户组,
每个用户组可以拥有对任意个资源的操作权限,操作类型包括:读、写、删除、执行等种类。 HugeGraph支持动态创建用户、用户组、资源,
@@ -4243,7 +4239,7 @@ P.gte(18)),properties如果为null表示任意属性均可,如果属性名
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"group"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-69:all"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"target"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"-77:all"</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>16 -
Other API</h1><h3 id=101-other>10.1 Other</h3><h4
id=1011-查看hugegraph的版本信息>10.1.1 查看HugeGraph的版本信息</h4><h5 id=method--url>Method
& Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>GET
http://localhost:808 [...]
+</span></span></code></pre></div></div><div class=td-content
style=page-break-before:always><h1 id=pg-8e126d4f2f7317a1268d7edb65cd4fcc>16 -
Other API</h1><h3 id=101-other>10.1 Other</h3><h4
id=1011-view-version-information-of-hugegraph>10.1.1 View Version Information
of HugeGraph</h4><h5 id=method--url>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=d [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"versions"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{</span>
diff --git a/docs/clients/restful-api/gremlin/index.html
b/docs/clients/restful-api/gremlin/index.html
index db0d7877..457eae35 100644
--- a/docs/clients/restful-api/gremlin/index.html
+++ b/docs/clients/restful-api/gremlin/index.html
@@ -1,18 +1,14 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.102.3"><meta name=robots content="index,
follow"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
-8.1.1 向HugeGraphServer发送gremlin语句(GET),同步执行
+8.1.1 Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution
Params
-gremlin: 要发送给HugeGraphServer执行的gremlin语句
-bindings: 用来绑定参数,key是字符串,value是绑定的值(只能是字符串或者数 …"><meta property="og:title"
content="Gremlin API"><meta property="og:description" content="8.1 Gremlin
8.1.1 向HugeGraphServer发送gremlin语句(GET),同步执行 Params gremlin:
要发送给HugeGraphServer执行的gremlin语句 bindings:
用来绑定参数,key是字符串,value是绑定的值(只能是字符串或者数字),功能类似于MySQL的 Prepared Statement,用于加速语句执行
language: 发送语句的语言类型,默认为gremlin-groovy aliases: 为存在于图空间的已有变量添加别名 查询顶点
-Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('1:marko')
Response Status 200 Response Body { "requestId":
"c6ef47a8-b634-4b07-9d38-6b3b69a3a556", "status": {
"message": "", "code": 200, "attributes": {} },
"result": { "data": [{ "id": "1:marko",
"label": "person", "type": "vertex",
"properties": { "city": [{ "id": [...]
-Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('1:marko')
Response Status 200 Response Body { "requestId":
"c6ef47a8-b634-4b07-9d38-6b3b69a3a556", "status": {
"message": "", "code": 200, "attributes": {} },
"result": { "data": [{ "id": "1:marko",
"label": "person", "type": "vertex",
"properties": { "city": [{ "id": [...]
-Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('1:marko')
Response Status 200 Response Body { "requestId":
"c6ef47a8-b634-4b07-9d38-6b3b69a3a556", "status": {
"message": "", "code": 200, "attributes": {} },
"result": { "data": [{ "id": "1:marko",
"label": "person", "type": "vertex",
"properties": { "city": [{ "id": [...]
+gremlin: The gremlin statement to be sent to …"><meta property="og:title"
content="Gremlin API"><meta property="og:description" content="8.1 Gremlin
8.1.1 Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution Params gremlin: The gremlin statement to be sent to HugeGraphServer
for execution bindings: Used to bind parameters. Key is a string, and the value
is the bound value (can only be a string or number). This functionality is
similar to MySQL’s Prepared S [...]
<link rel=stylesheet href=/css/prism.css><script
type=application/javascript>var
doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new
Date,ga("create","UA-00000000-0","auto"),ga("send","pageview"))</script><script
async src=https://www.google-analytics.com/analytics.js></script></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/><sp
[...]
<a
href=https://github.com/apache/incubator-hugegraph-doc/edit/master/content/en/docs/clients/restful-api/gremlin.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa fa-edit
fa-fw"></i> Edit this page</a>
<a
href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/en/docs/clients/restful-api/gremlin.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+mat
[...]
<a
href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=Gremlin%20API"
class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github
fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas
fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print
fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=/docs/>Documentation</a></li><li class=breadcrumb-item><a
href=/docs/clients/>API</a></li><li class=breadcrumb-item><a
href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item
active" ari [...]
+<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print
fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=/docs/>Documentation</a></li><li class=breadcrumb-item><a
href=/docs/clients/>API</a></li><li class=breadcrumb-item><a
href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item
active" ari [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"requestId"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"c6ef47a8-b634-4b07-9d38-6b3b69a3a556"</span><span
style=color:#000;font-weight:700>,</span>
@@ -44,8 +40,8 @@ Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=812-向hugegraphserver发送gremlin语句post同步执行>8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4><h5 id=method--url-1>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution>8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4><h5 id=method--url-1>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"hugegraph.traversal().V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -82,10 +78,7 @@ Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>"aliases":
{"graph": "hugegraph", "g": "__g_hugegraph"}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p></blockquote><blockquote><p>响应体的结构与其他
Vertex 或 Edge 的 RESTful
API的结构有区别,用户可能需要自行解析。</p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-1>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Here we directly
use the graph object (<code>hugegraph</code>), first retrieve its traversal
iterator (<code>traversal()</code>), and then retrieve the vertices. Instead of
writing <code>graph.traversal().V()</code> or <code>g.V()</code>, you can use
aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and <code>__g_hugegraph</code> is
an additional variable added by [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -119,19 +112,18 @@ Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"meta"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><h4
id=813-向hugegraphserver发送gremlin语句post异步执行>8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4><h5 id=method--url-2>Method &
Url</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
+</span></span></code></pre></div><h4
id=813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution>8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4><h5 id=method--url-2>Method & Url</h5><div class=highlight><pre
tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-fallback data-lang=fallback><span style=display:flex><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
+</span></span></code></pre></div><p><strong>Querying vertices</strong></p><h5
id=request-body-2>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.V('1:marko')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"aliases"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注意:</p><blockquote><p>异步执行Gremlin语句暂不支持aliases,可以使用
<code>graph</code> 代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p></blockquote><h5
id=response-status-3>Response Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>201</span>
+</span></span></code></pre></div><p>Note:</p><blockquote><p>Asynchronous
execution of Gremlin statements does not currently support aliases. You can use
<code>graph</code> to represent the graph you want to operate on, or directly
use the name of the graph, such as <code>hugegraph</code>. Additionally,
<code>g</code> represents the traversal, which is equivalent to
<code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p></blockquote><h5
id=response-status-3>Response Stat [...]
</span></span></code></pre></div><h5 id=response-body-3>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>1</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中"1"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful
API</a></p></blockquote><p><strong>查询边</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700> [...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code> (where “1” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful API</a>.</p></blockquote><p><strong>Querying edges</strong></p><h5
id=request-body-3>Request Body</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size [...]
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"gremlin"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"g.E('S1:marko>2>>S2:lop')"</span><span
style=color:#000;font-weight:700>,</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"bindings"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{},</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"language"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"gremlin-groovy"</span><span
style=color:#000;font-weight:700>,</span>
@@ -141,7 +133,7 @@ Method & Url GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V('
</span></span></code></pre></div><h5 id=response-body-4>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"task_id"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#0000cf;font-weight:700>2</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><p>注:</p><blockquote><p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中"2"是task_id)来查询异步任务的执行状态,更多<a
href=../task>异步任务RESTful
API</a></p></blockquote><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><script>const
yesButton=document.querySelector(".feedback--answer-yes"),noButton=document.querySelector(
[...]
+</span></span></code></pre></div><p>Note:</p><blockquote><p>You can query the
execution status of an asynchronous task by using <code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code> (where “2” is
the task_id). For more information, refer to the <a href=../task>Asynchronous
Task RESTful
API</a>.</p></blockquote><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visibl
[...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js
integrity="sha512-UR25UO94eTnCVwjbXozyeVd6ZqpaAE9naiEUBK/A+QDbfSTQFhPGj5lOR6d8tsgbBk84Ggb5A3EkjsOgPRPcKA=="
crossorigin=anonymous></script>
<script src=/js/tabpane-persist.js></script>
<script
src=/js/main.min.aa9f4c5dae6a98b2c46277f4c56f1673a2b000d1756ce4ffae93784cab25e6d5.js
integrity="sha256-qp9MXa5qmLLEYnf0xW8Wc6KwANF1bOT/rpN4TKsl5tU="
crossorigin=anonymous></script>
diff --git a/docs/clients/restful-api/index.xml
b/docs/clients/restful-api/index.xml
index d6ed86fa..07d12571 100644
--- a/docs/clients/restful-api/index.xml
+++ b/docs/clients/restful-api/index.xml
@@ -5460,15 +5460,15 @@ When you complete the restore, change the graph mode to
None.</p>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><p>At this point, the
number of vertices whose label is man must be less than
10.</p></description></item><item><title>Docs: Gremlin
API</title><link>/docs/clients/restful-api/gremlin/</link><pubDate>Mon, 01 Jan
0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/gremlin/</guid><description>
<h3 id="81-gremlin">8.1 Gremlin</h3>
-<h4 id="811-向hugegraphserver发送gremlin语句get同步执行">8.1.1
向HugeGraphServer发送gremlin语句(GET),同步执行</h4>
+<h4
id="811-sending-a-gremlin-statement-get-to-hugegraphserver-for-synchronous-execution">8.1.1
Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution</h4>
<h5 id="params">Params</h5>
<ul>
-<li>gremlin:
要发送给<code>HugeGraphServer</code>执行的<code>gremlin</code>语句</li>
-<li>bindings: 用来绑定参数,key是字符串,value是绑定的值(只能是字符串或者数字),功能类似于MySQL的 Prepared
Statement,用于加速语句执行</li>
-<li>language: 发送语句的语言类型,默认为<code>gremlin-groovy</code></li>
-<li>aliases: 为存在于图空间的已有变量添加别名</li>
+<li>gremlin: The gremlin statement to be sent to
<code>HugeGraphServer</code> for execution</li>
+<li>bindings: Used to bind parameters. Key is a string, and the value is
the bound value (can only be a string or number). This functionality is similar
to MySQL&rsquo;s Prepared Statement and is used to speed up statement
execution.</li>
+<li>language: The language type of the sent statement. Default is
<code>gremlin-groovy</code>.</li>
+<li>aliases: Adds aliases for existing variables in the graph space.</li>
</ul>
-<p><strong>查询顶点</strong></p>
+<p><strong>Querying vertices</strong></p>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V(&#39;1:marko&#39;)
</span></span></code></pre></div><h5
id="response-status">Response Status</h5>
@@ -5504,10 +5504,10 @@ When you complete the restore, change the graph mode to
None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4
id="812-向hugegraphserver发送gremlin语句post同步执行">8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4>
+</span></span></code></pre></div><h4
id="812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution">8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4>
<h5 id="method--url-1">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>POST http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p>
+</span></span></code></pre></div><p><strong>Querying
vertices</strong></p>
<h5 id="request-body">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;hugegraph.traversal().V(&#39;1:marko&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -5548,17 +5548,14 @@ When you complete the restore, change the graph mode to
None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注意:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>&quot;aliases&quot;:
{&quot;graph&quot;: &quot;hugegraph&quot;,
&quot;g&quot;: &quot;__g_hugegraph&quot;}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p>
+<p>Here we directly use the graph object (<code>hugegraph</code>),
first retrieve its traversal iterator (<code>traversal()</code>), and
then retrieve the vertices. Instead of writing
<code>graph.traversal().V()</code> or <code>g.V()</code>, you can
use aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and
<code>__g_hugegraph</code> is an additional variable added by
HugeGraphServer. E [...]
</blockquote>
<blockquote>
-<p>响应体的结构与其他 Vertex 或 Edge 的 RESTful API的结构有区别,用户可能需要自行解析。</p>
+<p>The structure of the response body is different from the RESTful API
structure of other vertices or edges. Users may need to parse it
manually.</p>
</blockquote>
-<p><strong>查询边</strong></p>
+<p><strong>Querying edges</strong></p>
<h5 id="request-body-1">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.E(&#39;S1:marko&gt;2&gt;&gt;S2:lop&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -5596,10 +5593,10 @@ When you complete the restore, change the graph mode to
None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4
id="813-向hugegraphserver发送gremlin语句post异步执行">8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4>
+</span></span></code></pre></div><h4
id="813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution">8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4>
<h5 id="method--url-2">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p>
+</span></span></code></pre></div><p><strong>Querying
vertices</strong></p>
<h5 id="request-body-2">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.V(&#39;1:marko&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -5607,10 +5604,9 @@ When you complete the restore, change the graph mode to
None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;language&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;gremlin-groovy&#34;</span><span
style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;aliases&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注意:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>异步执行Gremlin语句暂不支持aliases,可以使用 <code>graph</code>
代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p>
+<p>Asynchronous execution of Gremlin statements does not currently support
aliases. You can use <code>graph</code> to represent the graph you want
to operate on, or directly use the name of the graph, such as
<code>hugegraph</code>. Additionally, <code>g</code> represents the
traversal, which is equivalent to <code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p>
</blockquote>
<h5 id="response-status-3">Response Status</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#0000cf;font-weight:bold">201</span>
@@ -5618,11 +5614,11 @@ When you complete the restore, change the graph mode to
None.</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#0000cf;font-weight:bold">1</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中&quot;1&quot;是task_id)来查询异步任务的执行状态,更多<a
href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using
<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where
&ldquo;1&rdquo; is the task_id). For more information, refer to the
<a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote>
-<p><strong>查询边</strong></p>
+<p><strong>Querying edges</strong></p>
<h5 id="request-body-3">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.E(&#39;S1:marko&gt;2&gt;&gt;S2:lop&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -5636,9 +5632,9 @@ When you complete the restore, change the graph mode to
None.</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#0000cf;font-weight:bold">2</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中&quot;2&quot;是task_id)来查询异步任务的执行状态,更多<a
href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using
<code>GET http://localhost:8080/graphs/hugegraph/tasks/2</code> (where
&ldquo;2&rdquo; is the task_id). For more information, refer to the
<a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote></description></item><item><title>Docs: Authentication
API</title><link>/docs/clients/restful-api/auth/</link><pubDate>Mon, 01 Jan
0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/auth/</guid><description>
<h3 id="91-用户认证与权限控制">9.1 用户认证与权限控制</h3>
<blockquote>
@@ -6295,7 +6291,7 @@ P.gte(18)),properties如果为null表示任意属性均可,如果属性名
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div></description></item><item><title>Docs:
Other API</title><link>/docs/clients/restful-api/other/</link><pubDate>Mon, 01
Jan 0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/other/</guid><description>
<h3 id="101-other">10.1 Other</h3>
-<h4 id="1011-查看hugegraph的版本信息">10.1.1 查看HugeGraph的版本信息</h4>
+<h4 id="1011-view-version-information-of-hugegraph">10.1.1 View Version
Information of HugeGraph</h4>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>GET http://localhost:8080/versions
</span></span></code></pre></div><h5
id="response-status">Response Status</h5>
diff --git a/docs/clients/restful-api/other/index.html
b/docs/clients/restful-api/other/index.html
index dae940de..b9e1038a 100644
--- a/docs/clients/restful-api/other/index.html
+++ b/docs/clients/restful-api/other/index.html
@@ -1,18 +1,17 @@
<!doctype html><html lang=en class=no-js><head><meta charset=utf-8><meta
name=viewport
content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta
name=generator content="Hugo 0.102.3"><meta name=robots content="index,
follow"><link rel="shortcut icon" href=/favicons/favicon.ico><link
rel=apple-touch-icon href=/favicons/apple-touch-icon-180x180.png
sizes=180x180><link rel=icon type=image/png href=/favicons/favicon-16x16.png
sizes=16x16><link rel=icon type=image/png href=/favicons [...]
-10.1.1 查看HugeGraph的版本信息
+10.1.1 View Version Information of HugeGraph
Method & Url
GET http://localhost:8080/versions
Response Status
200
Response Body
-{
- "versions": { …"><meta property="og:title" content="Other
API"><meta property="og:description" content="10.1 Other 10.1.1
查看HugeGraph的版本信息 Method & Url GET http://localhost:8080/versions Response
Status 200 Response Body { "versions": { "version":
"v1", "core": "0.4.5.1", "gremlin":
"3.2.5", "api": "0.13.2.0" } } "><meta
property="og:type" content="article"><meta property="og:url"
content="/docs/clients/r [...]
+{ …"><meta property="og:title" content="Other API"><meta
property="og:description" content="10.1 Other 10.1.1 View Version Information
of HugeGraph Method & Url GET http://localhost:8080/versions Response Status
200 Response Body { "versions": { "version": "v1",
"core": "0.4.5.1", "gremlin": "3.2.5",
"api": "0.13.2.0" } } "><meta property="og:type"
content="article"><meta property="og:url" content="/docs/clients/rest [...]
<link rel=stylesheet href=/css/prism.css><script
type=application/javascript>var
doNotTrack=!1;doNotTrack||(window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)},ga.l=+new
Date,ga("create","UA-00000000-0","auto"),ga("send","pageview"))</script><script
async src=https://www.google-analytics.com/analytics.js></script></head><body
class=td-page><header><nav class="js-navbar-scroll navbar navbar-expand
navbar-dark flex-column flex-md-row td-navbar"><a class=navbar-brand href=/><sp
[...]
<a
href=https://github.com/apache/incubator-hugegraph-doc/edit/master/content/en/docs/clients/restful-api/other.md
class=td-page-meta--edit target=_blank rel=noopener><i class="fa fa-edit
fa-fw"></i> Edit this page</a>
<a
href="https://github.com/apache/incubator-hugegraph-doc/new/master/content/en/docs/clients/restful-api/other.md?filename=change-me.md&value=---%0Atitle%3A+%22Long+Page+Title%22%0AlinkTitle%3A+%22Short+Nav+Title%22%0Aweight%3A+100%0Adescription%3A+%3E-%0A+++++Page+description+for+heading+and+indexes.%0A---%0A%0A%23%23+Heading%0A%0AEdit+this+template+to+create+your+new+page.%0A%0A%2A+Give+it+a+good+name%2C+ending+in+%60.md%60+-+e.g.+%60getting-started.md%60%0A%2A+Edit+the+%22front+matte
[...]
<a
href="https://github.com/apache/incubator-hugegraph-doc/issues/new?title=Other%20API"
class=td-page-meta--issue target=_blank rel=noopener><i class="fab fa-github
fa-fw"></i> Create documentation issue</a>
<a href=https://github.com/apache/incubator-hugegraph/issues/new
class=td-page-meta--project-issue target=_blank rel=noopener><i class="fas
fa-tasks fa-fw"></i> Create project issue</a>
-<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print
fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=/docs/>Documentation</a></li><li class=breadcrumb-item><a
href=/docs/clients/>API</a></li><li class=breadcrumb-item><a
href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item
active" ari [...]
+<a id=print href=/docs/clients/restful-api/_print/><i class="fa fa-print
fa-fw"></i> Print entire section</a></div></aside><main class="col-12 col-md-9
col-xl-8 pl-md-5" role=main><nav aria-label=breadcrumb class=td-breadcrumbs><ol
class=breadcrumb><li class=breadcrumb-item><a
href=/docs/>Documentation</a></li><li class=breadcrumb-item><a
href=/docs/clients/>API</a></li><li class=breadcrumb-item><a
href=/docs/clients/restful-api/>RESTful API</a></li><li class="breadcrumb-item
active" ari [...]
</span></span></code></pre></div><h5 id=response-status>Response
Status</h5><div class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#0000cf;font-weight:700>200</span>
</span></span></code></pre></div><h5 id=response-body>Response Body</h5><div
class=highlight><pre tabindex=0
style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code
class=language-json data-lang=json><span style=display:flex><span><span
style=color:#000;font-weight:700>{</span>
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"versions"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#000;font-weight:700>{</span>
@@ -22,7 +21,7 @@ Response Body
</span></span><span style=display:flex><span> <span
style=color:#204a87;font-weight:700>"api"</span><span
style=color:#000;font-weight:700>:</span> <span
style=color:#4e9a06>"0.13.2.0"</span>
</span></span><span style=display:flex><span> <span
style=color:#000;font-weight:700>}</span>
</span></span><span style=display:flex><span><span
style=color:#000;font-weight:700>}</span>
-</span></span></code></pre></div><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><script>const
yesButton=document.querySelector(".feedback--answer-yes"),noButton=document.querySelector(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
+</span></span></code></pre></div><style>.feedback--answer{display:inline-block}.feedback--answer-no{margin-left:1em}.feedback--response{display:none;margin-top:1em}.feedback--response__visible{display:block}</style><script>const
yesButton=document.querySelector(".feedback--answer-yes"),noButton=document.querySelector(".feedback--answer-no"),yesResponse=document.querySelector(".feedback--response-yes"),noResponse=document.querySelector(".feedback--response-no"),disableButtons=()=>{yesButt
[...]
<script
src=https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js
integrity="sha512-UR25UO94eTnCVwjbXozyeVd6ZqpaAE9naiEUBK/A+QDbfSTQFhPGj5lOR6d8tsgbBk84Ggb5A3EkjsOgPRPcKA=="
crossorigin=anonymous></script>
<script src=/js/tabpane-persist.js></script>
<script
src=/js/main.min.aa9f4c5dae6a98b2c46277f4c56f1673a2b000d1756ce4ffae93784cab25e6d5.js
integrity="sha256-qp9MXa5qmLLEYnf0xW8Wc6KwANF1bOT/rpN4TKsl5tU="
crossorigin=anonymous></script>
diff --git a/docs/index.xml b/docs/index.xml
index 3812debc..945a9fda 100644
--- a/docs/index.xml
+++ b/docs/index.xml
@@ -14955,15 +14955,15 @@ When you complete the restore, change the graph mode
to None.</p>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div><p>At this point, the
number of vertices whose label is man must be less than
10.</p></description></item><item><title>Docs: Gremlin
API</title><link>/docs/clients/restful-api/gremlin/</link><pubDate>Mon, 01 Jan
0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/gremlin/</guid><description>
<h3 id="81-gremlin">8.1 Gremlin</h3>
-<h4 id="811-向hugegraphserver发送gremlin语句get同步执行">8.1.1
向HugeGraphServer发送gremlin语句(GET),同步执行</h4>
+<h4
id="811-sending-a-gremlin-statement-get-to-hugegraphserver-for-synchronous-execution">8.1.1
Sending a gremlin statement (GET) to HugeGraphServer for synchronous
execution</h4>
<h5 id="params">Params</h5>
<ul>
-<li>gremlin:
要发送给<code>HugeGraphServer</code>执行的<code>gremlin</code>语句</li>
-<li>bindings: 用来绑定参数,key是字符串,value是绑定的值(只能是字符串或者数字),功能类似于MySQL的 Prepared
Statement,用于加速语句执行</li>
-<li>language: 发送语句的语言类型,默认为<code>gremlin-groovy</code></li>
-<li>aliases: 为存在于图空间的已有变量添加别名</li>
+<li>gremlin: The gremlin statement to be sent to
<code>HugeGraphServer</code> for execution</li>
+<li>bindings: Used to bind parameters. Key is a string, and the value is
the bound value (can only be a string or number). This functionality is similar
to MySQL&rsquo;s Prepared Statement and is used to speed up statement
execution.</li>
+<li>language: The language type of the sent statement. Default is
<code>gremlin-groovy</code>.</li>
+<li>aliases: Adds aliases for existing variables in the graph space.</li>
</ul>
-<p><strong>查询顶点</strong></p>
+<p><strong>Querying vertices</strong></p>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>GET
http://127.0.0.1:8080/gremlin?gremlin=hugegraph.traversal().V(&#39;1:marko&#39;)
</span></span></code></pre></div><h5
id="response-status">Response Status</h5>
@@ -14999,10 +14999,10 @@ When you complete the restore, change the graph mode
to None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4
id="812-向hugegraphserver发送gremlin语句post同步执行">8.1.2
向HugeGraphServer发送gremlin语句(POST),同步执行</h4>
+</span></span></code></pre></div><h4
id="812-sending-a-gremlin-statement-post-to-hugegraphserver-for-synchronous-execution">8.1.2
Sending a gremlin statement (POST) to HugeGraphServer for synchronous
execution</h4>
<h5 id="method--url-1">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>POST http://localhost:8080/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p>
+</span></span></code></pre></div><p><strong>Querying
vertices</strong></p>
<h5 id="request-body">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;hugegraph.traversal().V(&#39;1:marko&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -15043,17 +15043,14 @@ When you complete the restore, change the graph mode
to None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注意:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>这里是直接使用图对象(hugegraph),先获取其遍历器(traversal()),再获取顶点。
-不能直接写成<code>graph.traversal().V()</code>或<code>g.V()</code>,可以通过<code>&quot;aliases&quot;:
{&quot;graph&quot;: &quot;hugegraph&quot;,
&quot;g&quot;: &quot;__g_hugegraph&quot;}</code>
-为图和遍历器添加别名后使用别名操作。其中,<code>hugegraph</code>是原生存在的变量,<code>__g_hugegraph</code>是<code>HugeGraphServer</code>额外添加的变量,
-每个图都会存在一个对应的这样格式(_<em>g</em>${graph})的遍历器对象。</p>
+<p>Here we directly use the graph object (<code>hugegraph</code>),
first retrieve its traversal iterator (<code>traversal()</code>), and
then retrieve the vertices. Instead of writing
<code>graph.traversal().V()</code> or <code>g.V()</code>, you can
use aliases to operate on the graph and traversal iterator. In this case,
<code>hugegraph</code> is a native variable, and
<code>__g_hugegraph</code> is an additional variable added by
HugeGraphServer. E [...]
</blockquote>
<blockquote>
-<p>响应体的结构与其他 Vertex 或 Edge 的 RESTful API的结构有区别,用户可能需要自行解析。</p>
+<p>The structure of the response body is different from the RESTful API
structure of other vertices or edges. Users may need to parse it
manually.</p>
</blockquote>
-<p><strong>查询边</strong></p>
+<p><strong>Querying edges</strong></p>
<h5 id="request-body-1">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.E(&#39;S1:marko&gt;2&gt;&gt;S2:lop&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -15091,10 +15088,10 @@ When you complete the restore, change the graph mode
to None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;meta&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span> <span
style="color:#000;font-weight:bold">}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><h4
id="813-向hugegraphserver发送gremlin语句post异步执行">8.1.3
向HugeGraphServer发送gremlin语句(POST),异步执行</h4>
+</span></span></code></pre></div><h4
id="813-sending-a-gremlin-statement-post-to-hugegraphserver-for-asynchronous-execution">8.1.3
Sending a gremlin statement (POST) to HugeGraphServer for asynchronous
execution</h4>
<h5 id="method--url-2">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>POST
http://localhost:8080/graphs/hugegraph/jobs/gremlin
-</span></span></code></pre></div><p><strong>查询顶点</strong></p>
+</span></span></code></pre></div><p><strong>Querying
vertices</strong></p>
<h5 id="request-body-2">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.V(&#39;1:marko&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -15102,10 +15099,9 @@ When you complete the restore, change the graph mode
to None.</p>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;language&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;gremlin-groovy&#34;</span><span
style="color:#000;font-weight:bold">,</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;aliases&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#000;font-weight:bold">{}</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注意:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>异步执行Gremlin语句暂不支持aliases,可以使用 <code>graph</code>
代表要操作的图,也可以直接使用图的名字, 例如 <code>hugegraph</code>;
-另外<code>g</code>代表 traversal,等价于 <code>graph.traversal()</code> 或者
<code>hugegraph.traversal()</code></p>
+<p>Asynchronous execution of Gremlin statements does not currently support
aliases. You can use <code>graph</code> to represent the graph you want
to operate on, or directly use the name of the graph, such as
<code>hugegraph</code>. Additionally, <code>g</code> represents the
traversal, which is equivalent to <code>graph.traversal()</code> or
<code>hugegraph.traversal()</code>.</p>
</blockquote>
<h5 id="response-status-3">Response Status</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#0000cf;font-weight:bold">201</span>
@@ -15113,11 +15109,11 @@ When you complete the restore, change the graph mode
to None.</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#0000cf;font-weight:bold">1</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/1</code>(其中&quot;1&quot;是task_id)来查询异步任务的执行状态,更多<a
href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using
<code>GET http://localhost:8080/graphs/hugegraph/tasks/1</code> (where
&ldquo;1&rdquo; is the task_id). For more information, refer to the
<a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote>
-<p><strong>查询边</strong></p>
+<p><strong>Querying edges</strong></p>
<h5 id="request-body-3">Request Body</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;gremlin&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#4e9a06">&#34;g.E(&#39;S1:marko&gt;2&gt;&gt;S2:lop&#39;)&#34;</span><span
style="color:#000;font-weight:bold">,</span>
@@ -15131,9 +15127,9 @@ When you complete the restore, change the graph mode to
None.</p>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-json" data-lang="json"><span
style="display:flex;"><span><span
style="color:#000;font-weight:bold">{</span>
</span></span><span style="display:flex;"><span> <span
style="color:#204a87;font-weight:bold">&#34;task_id&#34;</span><span
style="color:#000;font-weight:bold">:</span> <span
style="color:#0000cf;font-weight:bold">2</span>
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
-</span></span></code></pre></div><p>注:</p>
+</span></span></code></pre></div><p>Note:</p>
<blockquote>
-<p>可以通过<code>GET
http://localhost:8080/graphs/hugegraph/tasks/2</code>(其中&quot;2&quot;是task_id)来查询异步任务的执行状态,更多<a
href="../task">异步任务RESTful API</a></p>
+<p>You can query the execution status of an asynchronous task by using
<code>GET http://localhost:8080/graphs/hugegraph/tasks/2</code> (where
&ldquo;2&rdquo; is the task_id). For more information, refer to the
<a href="../task">Asynchronous Task RESTful API</a>.</p>
</blockquote></description></item><item><title>Docs: Authentication
API</title><link>/docs/clients/restful-api/auth/</link><pubDate>Mon, 01 Jan
0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/auth/</guid><description>
<h3 id="91-用户认证与权限控制">9.1 用户认证与权限控制</h3>
<blockquote>
@@ -15790,7 +15786,7 @@ P.gte(18)),properties如果为null表示任意属性均可,如果属性名
</span></span><span style="display:flex;"><span><span
style="color:#000;font-weight:bold">}</span>
</span></span></code></pre></div></description></item><item><title>Docs:
Other API</title><link>/docs/clients/restful-api/other/</link><pubDate>Mon, 01
Jan 0001 00:00:00
+0000</pubDate><guid>/docs/clients/restful-api/other/</guid><description>
<h3 id="101-other">10.1 Other</h3>
-<h4 id="1011-查看hugegraph的版本信息">10.1.1 查看HugeGraph的版本信息</h4>
+<h4 id="1011-view-version-information-of-hugegraph">10.1.1 View Version
Information of HugeGraph</h4>
<h5 id="method--url">Method &amp; Url</h5>
<div class="highlight"><pre tabindex="0"
style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code
class="language-fallback" data-lang="fallback"><span
style="display:flex;"><span>GET http://localhost:8080/versions
</span></span></code></pre></div><h5
id="response-status">Response Status</h5>
diff --git a/en/sitemap.xml b/en/sitemap.xml
index 6c57580f..1fed21eb 100644
--- a/en/sitemap.xml
+++ b/en/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-05-12T23:46:05-05:00</lastmod><xhtml:link
rel="alternate" hreflang="cn"
href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate"
hreflang="en"
href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-05-19T05:04:03-05:00</last
[...]
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml"><url><loc>/docs/guides/architectural/</loc><lastmod>2023-05-12T23:46:05-05:00</lastmod><xhtml:link
rel="alternate" hreflang="cn"
href="/cn/docs/guides/architectural/"/><xhtml:link rel="alternate"
hreflang="en"
href="/docs/guides/architectural/"/></url><url><loc>/docs/config/config-guide/</loc><lastmod>2023-05-19T05:04:03-05:00</last
[...]
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 47a77682..244e086f 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-05-21T04:38:57-05:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-05-19T05:15:56-05:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8" standalone="yes"?><sitemapindex
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>/en/sitemap.xml</loc><lastmod>2023-05-21T04:39:25-05:00</lastmod></sitemap><sitemap><loc>/cn/sitemap.xml</loc><lastmod>2023-05-19T05:15:56-05:00</lastmod></sitemap></sitemapindex>
\ No newline at end of file