图引擎服务 GES-查询Schema结构:响应示例

时间:2023-11-01 16:25:44

响应示例

状态码: 200

成功响应示例

{    "schema": {        "vertices": [            {                "vertex": "user",                "weight": 100            },            {                "vertex": "movie",                "weight": 46            }        ],        "edges": [            {                "weight": 1209,                "source": "user",                "target": "movie",                "relation": "rate"            },            {                "weight": 450,                "source": "user",                "target": "user",                "relation": "default"            }        ]    }}

状态码: 400

失败响应示例

Http Status Code: 400{    "errorMessage": "Bad Request, parameter [detail] cannot be null.",    "errorCode": "GES.8813"}
support.huaweicloud.com/api-ges/ges_03_0301.html