You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hugegraph.apache.org by "rajanarahul93 (via GitHub)" <gi...@apache.org> on 2025/04/04 06:24:31 UTC
[PR] docs(vertex): Update REST API examples to use primary keys and fix typos #260 [incubator-hugegraph-doc]
rajanarahul93 opened a new pull request, #400:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/400
<!--
Thank you very much for contributing to Apache HugeGraph, we are happy that you want to help us improve it!
Some tips for you:
1. If this is your first time to submit PR, please read the
[contributing guidelines](https://github.com/apache/incubator-hugegraph-doc/blob/master/contribution.md)
2. If a PR fix/close an issue, type the message "close xxx" below (Remember to update both EN & CN doc)
3. Build the website locally after you finish the PR, and check if the changes are correct, THX~
-->
## Purpose of the PR
- fix #260 (Vertex API part) <!-- Partial fix for the issue -->
### Key Changes
1. **ID Format Standardization**
- Updated all vertex IDs from composite format (`"1:marko"`) to primary key values (`"marko"`)
2. **Example Corrections**
- Fixed property filter example (`age:29` → `age:30`)
- Corrected batch update strategy for list properties (`UNION` → `APPEND`)
3. **URL/Typo Fixes**
- Removed malformed URLs (e.g., `http:///127.0.0.1` → `http://127.0.0.1`)
4. **Response Alignment**
- Ensured all examples match HugeGraph 1.0+ behavior
resolves #260
@liuxiaocs7
--
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
Re: [PR] docs(vertex): Update REST API examples to use primary keys and fix typos #260 [incubator-hugegraph-doc]
Posted by "rajanarahul93 (via GitHub)" <gi...@apache.org>.
rajanarahul93 closed pull request #400: docs(vertex): Update REST API examples to use primary keys and fix typos #260
URL: https://github.com/apache/incubator-hugegraph-doc/pull/400
--
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
Re: [PR] docs(vertex): Update REST API examples to use primary keys and fix typos #260 [incubator-hugegraph-doc]
Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on code in PR #400:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/400#discussion_r2029859796
##########
content/en/docs/clients/restful-api/vertex.md:
##########
@@ -70,7 +70,7 @@ POST http://localhost:8080/graphs/hugegraph/graph/vertices
```json
{
- "id": "1:marko",
Review Comment:
thx, but wonder to know/get the screenshot/pic for the real response vid format? (seems 1:xx for primary mode value is on the right way)
--
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
Re: [PR] docs(vertex): Update REST API examples to use primary keys and fix typos #260 [incubator-hugegraph-doc]
Posted by "rajanarahul93 (via GitHub)" <gi...@apache.org>.
rajanarahul93 commented on PR #400:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/400#issuecomment-2781227713
Thank you for the review, @imbajin
Sure, I’ll attach a screenshot of the actual response showing the vertex ID format in primary mode ("id": "marko"). The previous "1:marko" format seems to be from composite ID mode, so this update aligns with the default primary ID setting in HugeGraph 1.0+. I’ll share the screenshot shortly to confirm.
--
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
Re: [PR] docs(vertex): Update REST API examples to use primary keys and fix typos #260 [incubator-hugegraph-doc]
Posted by "imbajin (via GitHub)" <gi...@apache.org>.
imbajin commented on code in PR #400:
URL: https://github.com/apache/incubator-hugegraph-doc/pull/400#discussion_r2029859796
##########
content/en/docs/clients/restful-api/vertex.md:
##########
@@ -70,7 +70,7 @@ POST http://localhost:8080/graphs/hugegraph/graph/vertices
```json
{
- "id": "1:marko",
Review Comment:
thx, but wonder to know/get the screenshot/pic for the real response vid format? (seems 1:xx for primarykey mode value is on the right way)
--
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