图引擎服务 GES-n_paths算法(n_paths):请求示例

时间:2024-12-04 09:49:40

请求示例

POST http://{SERVER_URL}/ges/v1.0/{project_id}/hyg/{graph_name}/algorithm
{
    "algorithmName":"n_paths",
    "parameters": {
        "source":"129",
        "target":"78",
        "directed": "false",
        "n": "50",
        "k": "3"
    }
}

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

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