Querying the Job Object List

Function

This API is used to query the job 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.

jobs

Array

Job object 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 jobs parameter description

Parameter

Type

Description

description

String

Job object description

tenant_id

String

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

created_at

String

Job object creation time

mains

Array

Executable program set of a job object

updated_at

String

Job object update time

libs

Array

Dependency package set of a job object

is_protected

Bool

Whether a job object is protected

  • true
  • false

The current version does not support this function.

interface

Array

User-defined interface set

is_public

Bool

Whether a job object is public

  • true
  • false

The current version does not support this function.

type

String

Job object type

id

String

Job object ID

name

String

Job object name

Example

Status Code

Table 5 describes the status code of this API.

Table 5 Status code

Status code

Description

200

The job object list is queried successfully.

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