Skip to main content

Create a new schedule using cron time expression.

POST 

/v1/public/catalogs/:catalogId/models/:modelId/aggregates-creation/scheduler

Create a new schedule using cron time expression.

Request

Path Parameters

    catalogId stringrequired

    The Catalog ID for which you want to create a schedule.

    modelId stringrequired

    The Model ID for which you want to create a schedule.

Header Parameters

    Authorization string

Body

required

    timeExpression stringrequired

    When the schedule should be executed. Defined similarly to Cron job time format, with one more field (seconds) in the beginning. For example: 0 25 06 ? * *

Responses

Success.

Schema

    jobId uuidrequired
    catalogId uuidrequired
    modelId uuidrequired
    fullBuild booleanrequired
    timeExpression stringrequired
    createdByUser stringrequired
    createdAt date-timenullablerequired

    latestExecution

    object

    id uuidrequired
    jobId uuidrequired
    executedAt date-timenullablerequired
    path stringrequired
Loading...