内存版
内存版业务面API包括点操作、边操作、元数据操作、索引操作、Gremlin操作、算法、路径、图统计、图操作、子图操作、Job管理、Cypher操作API。
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=query |
根据某个过滤条件查询点,比如点元数据中含有age属性,过滤条件可以为age>18。 |
|
1.0.0 |
GET/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/detail?vertexIds={vertex_ids} |
给定一个点或者一组点的集合,查询这些点的详情,包括Label信息。 |
|
1.0.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices |
添加一个点。 |
|
1.0.6 |
DELETE/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id} |
删除一个点。 |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/properties/action?action_id={actionId} |
对点属性进行修改,包括新增、修改和删除。 |
|
1.1.9 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-query |
批量查询点的详情。 |
|
2.1.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-add |
批量添加点的操作。 |
|
2.1.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=batch-delete |
根据批量节点ID删除节点。 |
|
2.1.10 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/properties/action?action_id={actionId} |
批量更新点的属性。 |
|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/labels |
添加点的标签。 |
|
1.1.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/{vertex_id}/labels/{label_name} |
删除点的标签。 |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=export |
导出满足过滤条件的点集合。 |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/vertices/action?action_id=delete |
删除满足过滤条件的点集合。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=query |
根据边的属性上的过滤条件进行过滤,查询符合过滤条件的边。 |
|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/edges/detail?source={sourceVertex}&target={targetVertex}&index={index} |
根据边的源点和目的点查询边的详情,包括边的Label信息。 |
|
1.0.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges |
添加一条边。 |
|
1.0.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/edges?source={sourceVertex}&target={targetVertex}&index={index} |
删除一条边。 |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/properties/action?action_id={actionId}&source={sourceVertex}&target={targetVertex}&index={index} |
对边属性进行修改,包括新增、修改和删除。 |
|
1.1.6 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-query |
批量查询边的详情。 |
|
2.1.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-add |
批量添加边的操作。 |
|
2.1.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-delete |
根据批量边的起点、终点以及索引,删除这些边。 |
|
2.1.10 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/properties/action?action_id={actionId} |
批量更新边属性。 |
|
.2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=export |
导出满足过滤条件的边集合。 |
|
2.2.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=delete |
删除满足过滤条件的边集合。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels |
添加label。 |
|
1.1.7 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/{label_name}/properties |
更新label。 |
|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/schema |
查询元数据详情。 |
|
2.2.18 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/{labelName} |
删除label,同时删除该label相关的点、边。 |
|
2.2.21 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/schema/labels/action?action_id=batch-add |
批量添加label。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/indices |
新建索引。 |
|
1.1.6 |
DELETE /ges/v1.0/{project_id}/graphs/{graph_name}/indices/{indexName} |
删除索引。 |
|
1.1.6 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/indices |
查询索引。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-gremlin-query |
执行Gremlin查询。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-algorithm |
执行算法。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
2.3.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/dynamicgraphs/action?action_id=execute-analysis |
针对包含某些节点的群体,结合时间轴观察其结构的动态演化过程 。 |
|
2.3.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/dynamicgraphs/action?action_id=execute-analysis |
指定某个起始节点id,结合消息传递时间递增和BFS遍历顺序(Temporal BFS算法),搜索周围与之相关联的点,输出对应各节点的到达时间,以及与源起点之间的距离。 |
|
2.3.9 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/dynamicgraphs/action?action_id=execute-analysis |
根据输入参数,执行时序路径分析算法。两点之间仅返回一条满足条件的时序路径。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.1.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/paths/action?action_id=query-detail |
查询路径详情。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/summary |
查询图概要信息。 |
|
2.0.0 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/version |
查询图版本。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
2.1.14 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id= import-graph |
导入图数据 。 |
|
1.0.5 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=export-graph |
导出图数据。 |
|
2.1.2 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=clear-graph |
清空图数据。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
2.1.13 |
POST/ges/v1.0/{project_id}/graphs/{graph_name}/subgraphs/action?action_id=query |
查询输入的节点和它们之间所有边所构成的子图。 |
|
2.1.13 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/subgraphs/action?action_id=execute-algorithm |
根据输入调整子图生成方式,在生成的子图上,执行特定算法。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
1.0.0 |
GET/ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id}/status?offset=offset&limit=limit |
查询Job状态。 |
|
1.0.0 |
DELETE https://Endpoint/ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id} |
取消Job。 |
|
2.2.1 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/jobs/{job_id}/action?action_id=export-result |
用于将异步任务(job_id)的执行结果(result)导出到文件。 |
|
2.2.13 |
GET /ges/v1.0/{project_id}/graphs/{graph_name}/jobs/status?limit={limit}&offset={offset} |
异步任务jobId返回后,若jobId业务层丢失无法通过接口重新获取,现在提供一个新的接口用于查询engine中保存的所有异步任务,返回每个任务的jobId、job状态、原始请求。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
2.3.6 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-operation |
查询Job状态。 |
名称 |
版本 |
URL |
功能描述 |
---|---|---|---|
2.2.15 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=filtered-query |
对k跳过程进行逐层过滤,列出满足过滤条件的第k跳节点或边。 |
|
2.2.13 |
POST /v1.0/{project_id}/graphs/{graph_name}/action?action_id=import-properties |
通过导入文件更新点边的指定属性。 |
|
2.2.15 |
POST /v1.0/{project_id}/graphs/{graph_name}/action?action_id=delete-by-file |
通过读取文件删除点边。 |
|
2.2.16 |
POST /ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-cypher-query |
使用Cypher语句可以查询GES中的数据,并返回结果 |