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
- application/json
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
- 201
- 400
- 401
- 403
- 404
- 500
Success.
- application/json
- Schema
- Example (from schema)
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
{
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"catalogId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"modelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"fullBuild": true,
"timeExpression": "string",
"createdByUser": "string",
"createdAt": "2024-07-29T15:51:28.071Z",
"latestExecution": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"jobId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"executedAt": "2024-07-29T15:51:28.071Z"
},
"path": "string"
}
Invalid request for example: Invalid parameters, missing parameters.
Unauthorized. This error will occur if calling user is not authenticated.
Forbidden. This error will occur if calling user does not have access right for the API.
Not found. The server cannot find the requested resource.
A server error occurred. Check the logs for more details.
Loading...