bitflicker64 commented on code in PR #554: URL: https://github.com/apache/hugegraph-doc/pull/554#discussion_r4432865447
########## content/en/docs/clients/restful-api/graphs.md: ########## @@ -105,6 +105,10 @@ DELETE http://localhost:8080/graphspaces/DEFAULT/graphs/hugegraph/clear?confirm_ #### 6.1.4 Clone graph +This endpoint copies the source graph configuration only. It does not copy schema, vertices, or edges. Review Comment: Minor: in PD mode `cloneGraph` copies `schema.init_template` from the source config and `createGraph` re-applies that template, so a target cloned from a template-created graph gets the template schema. Say the source's schema elements are not copied but a configured `schema.init_template` is re-applied, here and in `content/cn/docs/clients/restful-api/graphs.md` line 108. ########## content/en/docs/clients/restful-api/graphs.md: ########## @@ -158,6 +162,26 @@ Clone a `non-auth` mode graph (set `Content-Type: application/json`) } ``` +##### Copy a graph schema + +Server builds containing [the proposed schema-clone change](https://github.com/hugegraph/hugegraph/pull/361) provide a separate synchronous API. Review Comment: Minor: `hugegraph/hugegraph#361` is closed without merging, while the endpoint landed in `apache/hugegraph#3439`, so the link makes the feature look abandoned and points readers at a fork. Link `https://github.com/apache/hugegraph/pull/3439` here and in `content/cn/docs/clients/restful-api/graphs.md` line 166. -- 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]
