curl -X PUT
--url http://localhost:6789/api/pipelines/arwen_starlight/backfills/6
-H 'Content-Type: application/json'
-H 'Cookie: oauth_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzIjoxNjkyMzE0ODM3LjE1MTkzOSwidG9rZW4iOiJieHlQajlVcHE5N2phTC1nTGtOQTVnM2draWZwRjJwSEZZZkNzLTJ2NmpnIn0.bWqUP7Xg9PmHBW703AGPOE270Cc73F4kb0IKHLppGbM'
-H 'X-API-KEY: zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2'
-d '{
"backfill": {
"start_datetime": "2023-07-17 23:56:05",
"end_datetime": "2023-07-18 23:56:05",
"name": "new_name"
}
}'
{
"backfill": {
"id": 6,
"block_uuid": null,
"completed_at": null,
"created_at": "2023-07-18 23:30:26",
"end_datetime": "2023-07-18 23:56:05",
"failed_at": null,
"interval_type": null,
"interval_units": null,
"metrics": null,
"name": "new_name",
"pipeline_schedule_id": null,
"pipeline_uuid": "arwen_starlight",
"start_datetime": "2023-07-17 23:56:05",
"started_at": null,
"status": null,
"updated_at": "2023-07-18 23:31:57",
"variables": null
}
}
PUT /api/pipelines/:pipeline_uuid/backfills/:backfill_id
All default attributes for a backfill may be updated in addittion to the following:
A datetime formatted string representing the start time of the backfill, e.g. "2023-09-05 23:56:05"
.
A datetime formatted string representing the end time of the backfill, e.g. "2023-09-05 23:56:05"
.
The interval type for the backfill. One of: minute
, hour
, day
, week
, month
, or year
.
The number of interval units for the backfill.
A new name for the backfill.
The backfill status. One of initial
, running
, completed
, failed
, cancelled
.
An object containing Global Pipeline Variables to be overriden by the backfill. Any Global Variable may be overridden.
curl -X PUT
--url http://localhost:6789/api/pipelines/arwen_starlight/backfills/6
-H 'Content-Type: application/json'
-H 'Cookie: oauth_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHBpcmVzIjoxNjkyMzE0ODM3LjE1MTkzOSwidG9rZW4iOiJieHlQajlVcHE5N2phTC1nTGtOQTVnM2draWZwRjJwSEZZZkNzLTJ2NmpnIn0.bWqUP7Xg9PmHBW703AGPOE270Cc73F4kb0IKHLppGbM'
-H 'X-API-KEY: zkWlN0PkIKSN0C11CfUHUj84OT5XOJ6tDZ6bDRO2'
-d '{
"backfill": {
"start_datetime": "2023-07-17 23:56:05",
"end_datetime": "2023-07-18 23:56:05",
"name": "new_name"
}
}'
{
"backfill": {
"id": 6,
"block_uuid": null,
"completed_at": null,
"created_at": "2023-07-18 23:30:26",
"end_datetime": "2023-07-18 23:56:05",
"failed_at": null,
"interval_type": null,
"interval_units": null,
"metrics": null,
"name": "new_name",
"pipeline_schedule_id": null,
"pipeline_uuid": "arwen_starlight",
"start_datetime": "2023-07-17 23:56:05",
"started_at": null,
"status": null,
"updated_at": "2023-07-18 23:31:57",
"variables": null
}
}