Viewing a Job File

Function

This API is used to check whether there are jobs and scripts in the job file to be imported from OBS to DLF.

URI

Request

Table 2 Request parameters

Parameter

Mandatory

Type

Description

path

No

String

If OBS is deployed, the job definition file is stored on OBS, for example, obs://myBucket/jobs.zip.

Response

Table 3 Response parameters

Parameter

Mandatory

Type

Description

jobs

No

List<Job>

Job information. For details, see Table 4.

scripts

No

List<Script>

Script information. For details, see Table 5.

Table 4 job data structure description

Parameter

Mandatory

Type

Description

params

No

Map<String,String>

Job parameter.

name

Yes

String

Job name.

path

Yes

String

Path of the job.

Table 5 Data structure description of Script

Parameter

Mandatory

Type

Description

name

Yes

String

Script name.

path

Yes

String

Path of the script.

Example

View the parameter definitions in the job file on OBS.

Status Codes

See Status Codes.