v2

Swagger 2.02026-08-01331211921.0 KB
Pipelines

Create a schedule

Create a schedule for the given repository.

post/repositories/{workspace}/{repo_slug}/pipelines_config/schedules

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

Request body

typestring required
enabledboolean

Whether the schedule is enabled.

cron_patternstring required

The cron expression with second precision (7 fields) that the schedule applies. For example, for expression: 0 0 12 * * ? *, will execute at 12pm UTC every day.

Response

The created schedule.

typestring required
uuidstring

The UUID identifying the schedule.

enabledboolean

Whether the schedule is enabled.

cron_patternstring

The cron expression with second precision (7 fields) that the schedule applies. For example, for expression: 0 0 12 * * ? *, will execute at 12pm UTC every day.

created_onstring date-time

The timestamp when the schedule was created.

updated_onstring date-time

The timestamp when the schedule was updated.