图引擎服务 GES-批量点查:响应示例

时间:2023-11-27 16:21:08

响应示例

状态码: 200

成功响应示例

Http Status Code: 200
{
       "data": {
              "vertices": [
                     {
                            "id": "0",
                            "labels": [
                                   "movie"
                            ],
                            "properties": {
                                   "movie": {
                                          "movieid": [
                                                 0
                                          ],
                                          "title": [
                                                 "American Beauty (1999)"
                                          ],
                                          "genres": [
                                                 "Comedy|Drama"
                                          ]
                                   }
                            }
                     },
                     {
                            "id": "51",
                            "labels": [
                                   "user"
                            ],
                            "properties": {
                                   "user": {
                                          "userid": [
                                                 5
                                          ],
                                          "gender": [
                                                 "F"
                                          ],
                                          "age": [
                                                 "56+"
                                          ],
                                          "occupation": [
                                                 "homemaker"
                                          ],
                                          "Zip-code": [
                                                 "46911"
                                          ]
                                   }
                            }
                     }
              ]
       },
       "result": "success"
}

状态码: 400

失败响应示例

Http Status Code: 400
{
  "errorMessage": " Bad Request, parameter vertices cannot be null",
  "errorCode": "GES.8214"
}
support.huaweicloud.com/api-ges/ges_03_0388.html