imbajin commented on code in PR #444:
URL: 
https://github.com/apache/incubator-hugegraph-doc/pull/444#discussion_r2707285889


##########
content/en/docs/clients/restful-api/graphs.md:
##########
@@ -166,7 +166,15 @@ POST 
http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph2
 
 ##### Request Body
 
-Create a non-auth graph (set `Content-Type: application/json`)
+Create a graph (set `Content-Type: application/json`)
+
+**`gremlin.graph` Configuration:**
+- Non-auth mode: `"gremlin.graph": "org.apache.hugegraph.HugeFactory"`
+- Auth mode: `"gremlin.graph": 
"org.apache.hugegraph.auth.HugeFactoryAuthProxy"`
+

Review Comment:
   🧹 **英文文档也需要同步更新版本说明**
   
   第 174 行的英文说明与中文版存在同样的问题,需要明确版本适用范围。
   
   **建议补充:**
   ```suggestion
   **\`gremlin.graph\` Configuration:**
   - Non-auth mode: `"gremlin.graph": "org.apache.hugegraph.HugeFactory"` (Only 
supported for dynamic creation in version 1.6.x and earlier)
   - Auth mode: `"gremlin.graph": 
"org.apache.hugegraph.auth.HugeFactoryAuthProxy"` (Required for version 1.7.0+)
   
   **Note**!! 
   1. **For version 1.7.0 and later, auth mode is required for dynamic graph 
creation**
   2. For version 1.7.0 and earlier, if the backend is hstore, you must add 
"task.scheduler_type": "distributed" in the request body. Also ensure 
HugeGraph-Server is properly configured with PD, see [HStore 
Configuration](/docs/quickstart/hugegraph/hugegraph-server/#511-distributed-storage-hstore).
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to