You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "imbajin (via GitHub)" <gi...@apache.org> on 2023/05/11 17:17:59 UTC
[GitHub] [incubator-hugegraph-doc] imbajin commented on a diff in pull request #214: docs: modify and translate schema-api
imbajin commented on code in PR #214:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/214#discussion_r1191480105
##########
content/cn/docs/clients/restful-api/schema.md:
##########
@@ -24,299 +26,297 @@ GET http://localhost:8080/graphs/hugegraph/schema
```json
{
- "propertykeys": [
- {
Review Comment:
need ensure the space for the json file is 2 not 4?
##########
content/cn/docs/clients/restful-api/schema.md:
##########
@@ -11,7 +11,9 @@ HugeGraph 提供单一接口获取某个图的全部 Schema 信息,包括:Pr
##### Method & Url
```
-GET http://localhost:8080/graphs/hugegraph/schema
+GET http://localhost:8080/graphs/{graph_name}/schema
+
+eg: GET http://localhost:8080/graphs/hugegraph/schema
Review Comment:
maybe use `e.g` is better?
##########
content/en/docs/clients/restful-api/schema.md:
##########
@@ -6,12 +6,14 @@ weight: 1
### 1.1 Schema
-HugeGraph 提供单一接口获取某个图的全部 Schema 信息,包括:PropertyKey、VertexLabel、EdgeLabel 和 IndexLabel。
+HugeGraph provides a single interface to get all Schema information of a graph, including: PropertyKey, VertexLabel, EdgeLabel and IndexLabel.
##### Method & Url
```
-GET http://localhost:8080/graphs/hugegraph/schema
+GET http://localhost:8080/graphs/{graph_name}/schema
+
+eg: GET http://localhost:8080/graphs/hugegraph/schema
Review Comment:
same
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@hugegraph.apache.org
For additional commands, e-mail: issues-help@hugegraph.apache.org