This is an automated email from the ASF dual-hosted git repository. jermy pushed a commit to branch website in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-doc.git
commit 617b0dc0e08bbaaec2a6c69997f18a6a0c778534 Author: brain.duan <[email protected]> AuthorDate: Mon May 9 18:43:53 2022 +0800 pull-130 fix the reviewed problems --- content/en/docs/clients/restful-api/rebuild.md | 14 +++++++------- content/en/docs/clients/restful-api/task.md | 10 +++++----- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/content/en/docs/clients/restful-api/rebuild.md b/content/en/docs/clients/restful-api/rebuild.md index 9e2bcd8..cc9fb64 100644 --- a/content/en/docs/clients/restful-api/rebuild.md +++ b/content/en/docs/clients/restful-api/rebuild.md @@ -27,9 +27,9 @@ PUT http://localhost:8080/graphs/hugegraph/jobs/rebuild/indexlabels/personByCity "task_id": 1 } ``` -comment: +Note: -> you can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 1). See More [AsyncJob RESTfull API](../task) +> You can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 1). See More [AsyncJob RESTfull API](../task) #### 1.6.2 Rebulid all Indexs of VertexLabel @@ -53,11 +53,11 @@ PUT http://localhost:8080/graphs/hugegraph/jobs/rebuild/vertexlabels/person } ``` -comment: +Note: -> you can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 2). See More [AsyncJob RESTfull API](../task) +> You can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 2). See More [AsyncJob RESTfull API](../task) -#### 1.6.3 Rebulid all Indexs of VertexLabel +#### 1.6.3 Rebulid all Indexs of EdgeLabel ##### Method & Url @@ -79,6 +79,6 @@ PUT http://localhost:8080/graphs/hugegraph/jobs/rebuild/edgelabels/created } ``` -comment: +Note: -> you can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 3). See More [AsyncJob RESTfull API](../task) \ No newline at end of file +> You can get the asynchronous job status by `GET http://localhost:8080/graphs/hugegraph/tasks/${task_id}` (the task_id here should be 3). See More [AsyncJob RESTfull API](../task) \ No newline at end of file diff --git a/content/en/docs/clients/restful-api/task.md b/content/en/docs/clients/restful-api/task.md index 86547a4..ee1888c 100644 --- a/content/en/docs/clients/restful-api/task.md +++ b/content/en/docs/clients/restful-api/task.md @@ -6,7 +6,7 @@ weight: 13 ### 7.1 Task -#### 7.1.1 list all asynTasks in graph +#### 7.1.1 List all async tasks in graph ##### Params @@ -45,7 +45,7 @@ GET http://localhost:8080/graphs/hugegraph/tasks?status=success } ``` -#### 7.1.2 view the details of an asyncTask +#### 7.1.2 View the details of an async task ##### Method & Url @@ -77,7 +77,7 @@ GET http://localhost:8080/graphs/hugegraph/tasks/2 } ``` -#### 7.1.3 delete task infomation of an asyncTask,**won't delete the task itself** +#### 7.1.3 Delete task infomation of an async task,**won't delete the task itself** ##### Method & Url @@ -93,7 +93,7 @@ DELETE http://localhost:8080/graphs/hugegraph/tasks/2 #### 7.1.4 取消某个异步任务,**该异步任务必须具有处理中断的能力** -if you already created an asyncTask via [Gremlin API](../gremlin) as follows: +If you already created an async task via [Gremlin API](../gremlin) as follows: ```groovy "for (int i = 0; i < 10; i++) {" + @@ -128,4 +128,4 @@ PUT http://localhost:8080/graphs/hugegraph/tasks/2?action=cancel } ``` -query the number of vertex which label is man ,it must less than 10。 +At this point, the number of vertices whose label is man must be less than 10.
