Memory Edition
Memory edition service plane APIs cover vertex operations, edge operations, metadata operations, index operations, Gremlin operations, algorithms, paths, graph statistics, graph and subgraph operations, job management, and Cypher operations.
API |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=query |
Query vertices based on a filtering criterion. For example, if the vertex metadata contains the age property, the filter criterion can be 'age > 18'. |
|
1.0.0 |
GET/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/detail?vertexIds={vertex_ids} |
Query details about a specified vertex of a specified set of vertices, including the label information. |
|
1.0.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices |
Add a vertex. |
|
1.0.6 |
DELETE/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id} |
Delete a vertex. |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/properties/action?action_id={actionId} |
Modify a vertex's properties, including adding, changing, and deleting properties. |
|
1.1.9 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-query |
Query vertex details in batches. |
|
2.1.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-add |
Add vertices in batches. |
|
2.1.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-delete |
Delete vertices in batches based on the vertex IDs. |
|
2.1.10 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/properties/action?action_id={actionId} |
Update vertex properties in batches. |
|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/labels |
Add a vertex label. |
|
1.1.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/labels/{label_name} |
Delete a vertex label. |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=export |
Export vertex sets that meet the filter criteria. |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=delete |
Delete vertex sets that meet the filter criteria. |
API |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=query |
Filter the edges that meet the filter criteria of edge properties. |
|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/edges/detail?source={sourceVertex}&target={targetVertex}&index={index} |
Query the details about an edge based on its source and target vertices, including the edge's label information. |
|
1.0.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges |
Add an edge. |
|
1.0.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/edges?source={sourceVertex}&target={targetVertex}&index={index} |
Delete an edge. |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/properties/action?action_id={actionId}&source={sourceVertex}&target={targetVertex}&index={index} |
Modify an edge's properties, including adding, changing, and deleting properties. |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-query |
Query edge details in batches. |
|
2.1.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-add |
Add edges in batches. |
|
2.1.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-delete |
Delete edges in batches based on the source vertices, target vertices, and indexes of the edges. |
|
2.1.10 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/properties/action?action_id={actionId} |
Update edge properties in batches. |
|
.2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=export |
Export the edge set that meets the filter criteria. |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=delete |
Delete the edge set that meets the filter criteria. |
API |
Version |
URL |
Function |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels |
Add a label. |
|
1.1.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/{label_name}/properties |
Update a label. |
|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/schema |
Query metadata details. |
|
2.2.18 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/{labelName} |
Delete a label as well as the vertices and edges associated with the label. |
|
2.2.21 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/action?action_id=batch-add |
Add labels in batches. |
API |
Version |
URL |
Function |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/indices |
Create an index. |
|
1.1.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/indices/{indexName} |
Delete an index. |
|
1.1.6 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/indices |
Query indexes. |
API |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-gremlin-query |
Execute Gremlin queries. |
Operation |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-algorithm |
Run algorithms. |
API |
Version |
URL |
Function |
---|---|---|---|
2.3.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/dynamicgraphs/action?action_id=execute-analysis |
The community evolution algorithm generates a temporal graph that shows structure changes of a community over time. |
|
2.3.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/dynamicgraphs/action?action_id=execute-analysis |
This algorithm searches for associated vertices based on temporal message passing and temporal BFS algorithms, and outputs the visit time of each vertex and the distance from the vertex to the source start vertex. |
Parameter |
Version |
URL |
Function |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/paths/action?action_id=query-detail |
Query the path details. |
Operation |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/summary |
Query general information about a graph. |
|
2.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/version |
Query the graph version. |
Operation |
Version |
URL |
Function |
---|---|---|---|
2.1.14 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id= import-graph |
Import data. |
|
1.0.5 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=export-graph |
Export data. |
|
2.1.2 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=clear-graph |
Clear data. |
Operation |
Version |
URL |
Function |
---|---|---|---|
2.1.13 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/subgraphs/action?action_id=query |
Queries the subgraphs formed by the entered vertices and edges between the vertices. |
Operation |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
GET/ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id}/status?offset=offset&limit=limit |
Query job status. |
|
1.0.0 |
DELETE https://Endpoint/ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id} |
Cancel a job. |
|
2.2.1 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id}/action?action_id=export-result |
Export the execution result (result) of an asynchronous job (job_id) to a file. |
|
2.2.13 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/jobs/status?limit={limit}&offset={offset} |
After the ID of an asynchronous job is returned, if the job ID at the service layer is lost and cannot be obtained through the API, a new API is provided to query all asynchronous jobs stored in the engine. The job ID, job status, and original request of each job are returned. |
API |
Version |
URL |
Function |
---|---|---|---|
2.3.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-operation |
Query the job status. |
Operation |
Version |
URL |
Function |
---|---|---|---|
2.2.15 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=filtered-query |
Filter the k-hop process layer by layer, and list the k-hop vertices or edges that meet the filter criteria. |
|
Updating Specified Properties of Vertices and Edges by Importing a File |
2.2.13 |
POST /v1.0/{project_id}/graphs/{graph_name}/action?action_id=import-properties |
Update specified properties of vertices and edges by importing a file. |
2.2.15 |
POST /v1.0/{project_id}/graphs/{graph_name}/action?action_id=delete-by-file |
Delete vertices and edges by reading the files. |
|
2.2.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-cypher-query |
Run Cypher statements to query data in GES and obtain results. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot