图引擎服务 GES-批量更新点属性(2.1.10):请求示例

时间:2025-02-12 15:01:12

请求示例

批量更新点属性,待更新的点数组的点名称分别为150,6。

POST http://{SERVER_URL}/ges/v1.0/{project_id}/graphs/{graph_name}/vertices/properties/action?action_id=batch-update{    "vertices": [        {            "vertex": "150",            "label": "movie",            "properties": {                "movieid": [                    "150"                ],                "title": [                      "testmoive"                ],                "genres": [                    "Comedy"                ]            }        },        {            "vertex": "6",            "properties": {                "title": [                    "testmoive_exist_id"                ],                "genres": [                    "Comedy"                ]            }        }    ],        "ignoreError": true}

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

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