v2

latestOpenAPI 3.1.0raw.githubusercontent.com2024-09-26192307950.1 KB
workspaces

Create Schedule

Creates a schedule.

Args: workspace_name_or_id: Name or ID of the workspace. schedule: Schedule to create. auth_context: Authentication context.

Returns: The created schedule.

Raises: IllegalOperationError: If the workspace or user specified in the schedule does not match the current workspace or authenticated user.

post/api/v1/workspaces/{workspace_name_or_id}/schedules

Path parameters

string required
OR
string uuid required

Request body

userstring uuid required
workspacestring uuid required
namestring required
activeboolean required
cron_expressionstring nullable
start_timestring date-time nullable
end_timestring date-time nullable
interval_secondstring duration nullable
catchupboolean
run_once_start_timestring date-time nullable
orchestrator_idstring uuid nullable required
pipeline_idstring uuid nullable required

Response

Successful Response

resourcesScheduleResponseResources

Class for all resource models associated with the schedule entity.

idstring uuid required
permission_deniedboolean
namestring required