Updated on 2024-05-23 GMT+08:00

Graph List

URI

GET /ges/v1.0/{project_id}/graphs
Table 1 URI parameter

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Request Parameters

None

Response Parameters

Table 2 Response body parameters

Parameter

Type

Description

graphs

Array of graphs objects

Returned graph list

result

String

Query result. The value is success for a successful query and failed for a failed query.

Table 3 graphs

Parameter

Type

Description

graph_name

String

Graph name

idType

String

ID type

idLength

Integer

ID length

sortKeyType

String

sort key type

averageImportRate

Integer

Average import rate

Example Request

GET /ges/v1.0/{project_id}/graphs

Example Response

Status code: 200

Example response for a successful request

Http Status Code: 200
{
    "graphs": [
        {
            "graph_name": "movieee",
            "idType": "fixedLengthString",
            "idLength": 20,
            "sortKeyType":"varString",
            "averageImportRate": 0.0
        },
        {
            "graph_name": "ldbc",
            "idType": "fixedLengthString",
            "idLength": 20,
            "sortKeyType":"int",
            "averageImportRate": 0.0
        }
    ],
    "result": "success"
}

Status code: 400

Example response for a failed request

Http Status Code: 400
{
     "result": "failed"
}

Status Codes

Return Value

Description

400 Bad Request

Request error.

401 Unauthorized

Authorization failed.

403 Forbidden

No operation permissions.

404 Not Found

No resources found.

500 Internal Server Error

Internal server error.

503 Service Unavailable

Service unavailable.