图引擎服务 GES-批量边查:请求示例

时间:2024-05-26 05:52:04

请求示例

根据批量边的起点、终点以及索引来查询这些边的详细信息,待查询边的source节点为Vivian。
POST http://{SERVER_URL}/ges/v1.0/{project_id}/graphs/{graph_name}/edges/action?action_id=batch-query  
{
    "edges": [
           {
               "source": "Vivian",
               "target": "Lethal Weapon",
               "label": "rate"
           },
           {
               "source": "Vivian",
               "target": "Raising Arizona"
           }
       ]
}

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

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