curl --request POST \
--url https://api.example.com/v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks:batchRun \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"tasks": [
"<string>"
],
"reason": "<string>",
"runTime": "2023-11-07T05:31:56Z"
}
'{}Executes multiple tasks in a rollout stage. Permissions required: bb.taskRuns.create (or issue creator for data export issues, or user with rollout policy role for the environment)
curl --request POST \
--url https://api.example.com/v1/projects/{project}/rollouts/{rollout}/stages/{stage}/tasks:batchRun \
--header 'Content-Type: application/json' \
--data '
{
"parent": "<string>",
"tasks": [
"<string>"
],
"reason": "<string>",
"runTime": "2023-11-07T05:31:56Z"
}
'{}The project id.
The rollout id.
The stage id.
The name of the parent of the tasks. Format: projects/{project}/rollouts/{rollout}/stages/{stage}
The tasks to run. Format: projects/{project}/rollouts/{rollout}/stages/{stage}/tasks/{task}
The reason for running the tasks.
The task run should run after run_time.
OK
The response is of type object.
Was this page helpful?