图引擎服务 GES-查询图概要信息(1.0.0):响应示例

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

响应示例

状态码: 200

  • 成功响应示例1(返回不同label下点边数目的情况)
    Http Status Code: 200{    "data": {        "vertexNum": 146,        "labelDetails": {            "labelInVertex": {                "movie": 46,                "user": 100            },            "labelInEdge": {                "default": 450,                "rate": 1209            }        },        "edgeNum": 1659    }}
  • 成功响应示例2(无法提供不同label下点边数目的情况)
    Http Status Code: 200{    "data": {        "vertexNum": 146,        "labelDetails": {            "errorMessage": "Label index in vertices is not found.Label index in edges is not found.",            "errorCode": "GES.8017"        },        "edgeNum": 1659    }}
  • 成功响应示例3(只有不同label下点数目正常返回的情况)
    Http Status Code: 200{    "data": {        "vertexNum": 146,        "labelDetails": {            "errorMessage": "Label index in edges is not found.",            "labelInVertex": {                "movie": 46,                "user": 100            },            "errorCode": "GES.8017"        },        "edgeNum": 1659    }}
  • 响应成功示例(持久化版图规格的响应是jobId )
    Http Status Code: 200{"jobId": "f99f60f1-bba6-4cde-bd1a-ff4bdd1fd500000168232"}

状态码: 400

失败响应示例
Http Status Code: 400{    "errorMessage": "graph [demo] is not found",    "errorCode": "GES.8001"}
support.huaweicloud.com/api-ges/ges_03_0028.html