Querying the Job Execution Plan

Function

This API is used to query the job execution plan.

URI

  • URI format

    GET /v1.0/{project_id}/job/{job_id}/execute_graph

  • Parameter description
    Table 1 URI parameter description

    Parameter

    Mandatory

    Description

    project_id

    Yes

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

    job_id

    Yes

    Job ID.

Request

None

Response

  • Example response
    {
    "message_id": "CS.10001",
      "message": "Querying the job execution plan succeeds.",
      "current_time": 1533686888000,
    "payload": {
        "execute_plan_items": "[{\"key\":\"value\"}]"
      }
    }
  • Parameter description
    Table 2 Response parameters

    Parameter

    Mandatory

    Type

    Description

    message_id

    No

    Sting

    Message type ID.

    message

    No

    Sting

    Message content.

    current_time

    No

    Int

    Current time, expressed by milliseconds.

    payload

    No

    None

    Information about the job execution plan.

    execute_plan_items

    No

    Sting

    Job execution plan.

Status Code

Table 3 Status code

Status Code

Description

200

Querying the job execution plan succeeds.

400

The input parameters are invalid.

Error Code

For details, see Error Codes.