图引擎服务 GES-执行算法:请求示例
时间:2025-03-14 10:08:19
请求示例
执行指定算法,算法名字为shortest_path,路径的起点ID为145,路径的终点ID为10,考虑边的方向。
POST http://{SERVER_URL}/ges/v1.0/{project_id}/graphs/{graph_name}/action?action_id=execute-algorithm { "algorithmName": "shortest_path", "parameters": { "source": "145", "target": "10", "directed":true }, "executionMode": "sync" }
support.huaweicloud.com/api-ges/ges_03_0458.html