图引擎服务 GES-全最短路(all_shortest_paths):请求示例

时间:2024-09-04 15:52:36

请求示例

POST /ges/v1.0/{project_id}/hyg/{graph_name}/algorithm
{
 "algorithmName":"all_shortest_paths",
 "parameters":{
        "source":"1",
"target":"5",
        "directed":true,
"weight":"",
        "num_thread":4
 }
}

SERVER_URL:图的访问地址,取值请参考业务面API使用限制

support.huaweicloud.com/api-ges/ges_03_0496.html