Updated on 2024-04-19 GMT+08:00

Displaying the Batch List

Function

This API is used to query the batch index and label.

URI

GET /v1/job/script/orders/{execute_uuid}/batches

Table 1 Path parameters

Parameter

Mandatory or Not

Type

Description

execute_uuid

Yes

String

Execution ID of a script service ticket, which is obtained from the response bodies of executeJobScript and ListJobScriptOrders.

Minimum length: 1 character

Maximum length: 26 characters

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

[Array]

Array of JobScriptBatchListModel objects

Batch list

Table 3 JobScriptBatchListModel

Parameter

Type

Description

batch_index

Integer

Batch index, starting from 1.

total_instances

Integer

Number of instance nodes in a batch

rotation_strategy

String

Suspension and resumption policy

The value can be:

  • CONTINUE
  • PAUSE

properties

String

Batch label:

Request Example

None

Response Example

None

Status Code

Status Code

Description

200

Batch list

Error code

See Error code.