Querying the Job Execution Object List

Function

This API is used to query the job execution object list. This API is compatible with Sahara.

URI

Request

Request parameters

None.

Response

Table 2 Response parameter description

Parameter

Type

Description

markers

Object

Markers object

For details, see Table 3.

job_executions

Array

Job execution list

For details, see Table 4.

Table 3 markers parameter description

Parameter

Type

Description

prev

String

Marker on the previous page

next

String

Marker on the next page

Table 4 job_executions parameter description

Parameter

Type

Description

job_configs

Object

Key-value pair set for saving job running configurations For more parameter description, see Table 5.

is_protected

Bool

Whether a job execution object is protected

  • true
  • false

The current version does not support this function.

input_id

String

Input data source ID of a job execution object

job_id

String

Job ID

cluster_id

String

Cluster ID

created_at

String

Job execution object creation time

end_time

String

Job end time

output_id

String

Output data source ID of a job execution object

is_public

Bool

Whether a job execution object is public

  • true
  • false

The current version does not support this function.

updated_at

String

Job execution object update time

return_code

String

Response code after job execution

data_source_urls

Object

Data source URL of a job execution object

tenant_id

String

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

start_time

String

Job start time

Id

String

Job execution object ID

engine_job_id

String

Workflow ID of Oozie

oozie_job_id

String

Workflow ID returned by Oozie

info

String

Key-value pair set, containing job running information returned by Oozie

Table 5 job_configs parameter description

Parameter

Type

Description

configs

Object

Key-value pair set configured for a job

args

Array

List of arguments

params

Object

Key-value pair set for running a job

Example

Status Code

Table 6 describes the status code of this API.

Table 6 Status code

Status Code

Description

200

The job execution object list is queried successfully.

For the description about error status codes, see Status Codes.