@celigo/api-specs 0.2.331 → 0.2.332
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flow.yml +22 -2
- package/dist/sync.yml +62 -19
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/flow.yml
CHANGED
|
@@ -5137,7 +5137,9 @@ components:
|
|
|
5137
5137
|
schedule:
|
|
5138
5138
|
type: string
|
|
5139
5139
|
description: |-
|
|
5140
|
-
Cron expression for this specific generator, overriding the flow's main schedule
|
|
5140
|
+
Cron expression for this specific generator, overriding the flow's main schedule —
|
|
5141
|
+
in the format of the flow's `schedule` (six fields, `?` first), and read by the
|
|
5142
|
+
scheduler the same way, a five-field value included.
|
|
5141
5143
|
When omitted, the generator inherits the flow's schedule. It is read in the flow's
|
|
5142
5144
|
`timezone`, and a flow with no flow-level `schedule` still runs on it. PATCH reaches
|
|
5143
5145
|
the flow-level `/schedule` and `/timezone` but not this field, so changing it is a full
|
|
@@ -6614,7 +6616,10 @@ components:
|
|
|
6614
6616
|
with a broken schedule: `422 invalid_value` when the expression cannot be parsed
|
|
6615
6617
|
into a schedule (for example all wildcards, `? * * ? * *`), `422
|
|
6616
6618
|
schedule_not_supported` when its runs would be less than a minute apart — which
|
|
6617
|
-
is also what free text such as `every 5 minutes` produces.
|
|
6619
|
+
is also what free text such as `every 5 minutes` produces. A five-field
|
|
6620
|
+
expression that passes those checks — a Unix cron such as `0 6 * * *`; the
|
|
6621
|
+
all-wildcard `* * * * *` fails with `422 invalid_value` — is stored as sent and
|
|
6622
|
+
does not run as written (known issue IO-242870, described in the guidance).
|
|
6618
6623
|
|
|
6619
6624
|
Celigo spreads scheduled starts across the platform so that every flow starts
|
|
6620
6625
|
promptly: you choose the cadence — every N minutes, hourly, daily, twice daily,
|
|
@@ -6693,6 +6698,21 @@ components:
|
|
|
6693
6698
|
progress (boundaries skipped during a long run are by design); missed
|
|
6694
6699
|
runs on an enabled, unchanged flow with nothing running are a
|
|
6695
6700
|
platform-scheduler issue to escalate, not a configuration problem.
|
|
6701
|
+
- |-
|
|
6702
|
+
Known issue (IO-242870), until the fix is released: a five-field expression
|
|
6703
|
+
that passes the save's checks — a Unix cron such as `0 6 * * *`; `* * * * *`
|
|
6704
|
+
is rejected, 422 `invalid_value` — is stored as sent, and the scheduler reads
|
|
6705
|
+
it from the seconds position: its first field as seconds, the other four as
|
|
6706
|
+
minute, hour, day-of-month and month, on any day of the week (live-verified
|
|
6707
|
+
2026-11-22, on the flow's `schedule` and on a page generator's). So
|
|
6708
|
+
`0 * * * *` runs every minute, `0 */4 * * *` every four minutes and
|
|
6709
|
+
`0 6 * * *` every hour at minute 6, and a fifth field written as weekdays is
|
|
6710
|
+
read as months: `0 9 * * 1-5` runs at minute 9 of every hour in January
|
|
6711
|
+
through May and not at all in the other months. When a flow's runs come far
|
|
6712
|
+
more often than its schedule seems to say, or do not come at all, count the
|
|
6713
|
+
fields of the saved `schedule`; for one with five, say what it runs as and
|
|
6714
|
+
offer the six-field schedule for the cadence the user meant (`? 5 6 ? * *`
|
|
6715
|
+
for daily at 06:05). Never author a five-field schedule.
|
|
6696
6716
|
examples:
|
|
6697
6717
|
- '? 5 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 ? * *'
|
|
6698
6718
|
- '? 5 0,4,8,12,16,20 ? * *'
|
package/dist/sync.yml
CHANGED
|
@@ -1472,7 +1472,7 @@ paths:
|
|
|
1472
1472
|
numLoadedRecords: 12450
|
|
1473
1473
|
numExtractedRecords: 12450
|
|
1474
1474
|
numTablesSynced: 3
|
|
1475
|
-
triggeredBy:
|
|
1475
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
1476
1476
|
runType: normal
|
|
1477
1477
|
- _id: 6821b00a39db7c2b9cdc0d10
|
|
1478
1478
|
flowExecutionGroupId: 6821b00a39db7c2b9cdc0d09
|
|
@@ -1487,7 +1487,7 @@ paths:
|
|
|
1487
1487
|
numLoadedRecords: 11980
|
|
1488
1488
|
numExtractedRecords: 11982
|
|
1489
1489
|
numTablesSynced: 3
|
|
1490
|
-
triggeredBy:
|
|
1490
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
1491
1491
|
runType: resync
|
|
1492
1492
|
datasetIds:
|
|
1493
1493
|
- 6a559b547885d8f93921c2ba
|
|
@@ -1665,7 +1665,7 @@ paths:
|
|
|
1665
1665
|
numLoadedRecords: 12450
|
|
1666
1666
|
numExtractedRecords: 12450
|
|
1667
1667
|
numTablesSynced: 3
|
|
1668
|
-
triggeredBy:
|
|
1668
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
1669
1669
|
runType: normal
|
|
1670
1670
|
running:
|
|
1671
1671
|
summary: A currently running sync job
|
|
@@ -1682,7 +1682,6 @@ paths:
|
|
|
1682
1682
|
numLoadedRecords: 3200
|
|
1683
1683
|
numExtractedRecords: 5100
|
|
1684
1684
|
numTablesSynced: 2
|
|
1685
|
-
triggeredBy: schedule
|
|
1686
1685
|
runType: normal
|
|
1687
1686
|
'401':
|
|
1688
1687
|
$ref: '#/components/responses/401-unauthorized'
|
|
@@ -1740,7 +1739,6 @@ paths:
|
|
|
1740
1739
|
numLoadedRecords: 12450
|
|
1741
1740
|
numExtractedRecords: 12450
|
|
1742
1741
|
numTablesSynced: 2
|
|
1743
|
-
triggeredBy: schedule
|
|
1744
1742
|
runType: normal
|
|
1745
1743
|
tables:
|
|
1746
1744
|
- _id: 6821c01c39db7c2b9cdc0e31
|
|
@@ -2041,7 +2039,6 @@ paths:
|
|
|
2041
2039
|
numLoadedRecords: 12450
|
|
2042
2040
|
numExtractedRecords: 12450
|
|
2043
2041
|
numTablesSynced: 3
|
|
2044
|
-
triggeredBy: schedule
|
|
2045
2042
|
runType: normal
|
|
2046
2043
|
- _id: 6821d22e39db7c2b9cdc1050
|
|
2047
2044
|
flowExecutionGroupId: 6821d22e39db7c2b9cdc1049
|
|
@@ -2056,7 +2053,6 @@ paths:
|
|
|
2056
2053
|
numLoadedRecords: 5600
|
|
2057
2054
|
numExtractedRecords: 5601
|
|
2058
2055
|
numTablesSynced: 2
|
|
2059
|
-
triggeredBy: schedule
|
|
2060
2056
|
runType: normal
|
|
2061
2057
|
'204':
|
|
2062
2058
|
description: No sync jobs exist for any sync in this integration.
|
|
@@ -4294,9 +4290,37 @@ components:
|
|
|
4294
4290
|
schedule:
|
|
4295
4291
|
type: string
|
|
4296
4292
|
description: |-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4293
|
+
Celigo 6-field cron expression that controls automatic runs —
|
|
4294
|
+
`? minute hour day-of-month month day-of-week`, the format of a flow's `schedule` —
|
|
4295
|
+
e.g. `? 0 */6 * * *` for every six hours. Empty or omitted means the sync only runs
|
|
4296
|
+
on demand via `POST /v1/syncs/{_syncId}/run`. Evaluated in the sync's `timezone`.
|
|
4297
|
+
Celigo assigns the start minute, as it does for a flow: today a schedule that
|
|
4298
|
+
names minute 0 starts its runs at minute 5 (`? 0 2 * * *` runs at 02:05) — the
|
|
4299
|
+
platform's current assignment, not a contract — while this field keeps the
|
|
4300
|
+
expression as it was sent. A five-field Unix cron such as `0 * * * *` has been
|
|
4301
|
+
stored as sent and does not run as written (known issue IO-242867, described in
|
|
4302
|
+
the guidance).
|
|
4303
|
+
x-celigo-ai-guidance:
|
|
4304
|
+
- |-
|
|
4305
|
+
Read a saved `schedule` by its fields before saying when the sync runs: after
|
|
4306
|
+
the leading `?` come minute, hour, day-of-month, month and day-of-week, in the
|
|
4307
|
+
sync's `timezone` — `? 0 2 * * *` is once a day, `? 0 */8 * * *` every eight
|
|
4308
|
+
hours, `? 0 4,12,20 * * *` three times a day. Give the start time Celigo
|
|
4309
|
+
assigns, not the minute written: with minute 0 written the runs start at
|
|
4310
|
+
minute 5 today, so `? 0 2 * * *` is 02:05, never 02:00.
|
|
4311
|
+
- |-
|
|
4312
|
+
Known issue (IO-242867), until the fix is released: PUT has stored five-field
|
|
4313
|
+
Unix crons as sent (`0 * * * *` and `0 0 * * *` were), and the scheduler reads
|
|
4314
|
+
such a value from the seconds position, as described on a flow's `schedule`.
|
|
4315
|
+
`0 * * * *`, meant as hourly, ran a sync every minute. When a sync runs far more
|
|
4316
|
+
often than its schedule seems to say, count the fields of the saved `schedule`
|
|
4317
|
+
first; say what it runs as, and offer the six-field expression for the cadence
|
|
4318
|
+
the user meant.
|
|
4319
|
+
- |-
|
|
4320
|
+
When AUTHORING a schedule, write six fields with `?` first, in the shapes syncs
|
|
4321
|
+
run on: `? 0 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * *`
|
|
4322
|
+
for hourly, `? 0 2 * * *` for daily, `? 0 4,12,20 * * *` for three times a day.
|
|
4323
|
+
Never send five fields.
|
|
4300
4324
|
examples:
|
|
4301
4325
|
- '? 0 */6 * * *'
|
|
4302
4326
|
timezone:
|
|
@@ -4562,9 +4586,19 @@ components:
|
|
|
4562
4586
|
schedule:
|
|
4563
4587
|
type: string
|
|
4564
4588
|
description: |-
|
|
4565
|
-
|
|
4589
|
+
Celigo 6-field cron expression that controls automatic runs —
|
|
4590
|
+
`? minute hour day-of-month month day-of-week` — e.g. `? 0 */6 * * *` for every six
|
|
4566
4591
|
hours. Send an empty string (or omit) for a sync that only runs on demand.
|
|
4567
|
-
Evaluated in `timezone`.
|
|
4592
|
+
Evaluated in `timezone`. Send six fields: a five-field Unix cron such as
|
|
4593
|
+
`0 * * * *` has been stored as sent and does not run as written (known issue
|
|
4594
|
+
IO-242867, described in the guidance).
|
|
4595
|
+
x-celigo-ai-guidance:
|
|
4596
|
+
- |-
|
|
4597
|
+
Known issue (IO-242867), until the fix is released: PUT has stored five-field
|
|
4598
|
+
Unix crons as sent (`0 * * * *` and `0 0 * * *` were), and the scheduler reads
|
|
4599
|
+
such a value from the seconds position — `0 * * * *`, meant as hourly, ran a
|
|
4600
|
+
sync every minute. Send `?` as the first of six fields: `? 0 2 * * *` for
|
|
4601
|
+
daily, whose runs start at 02:05 today.
|
|
4568
4602
|
examples:
|
|
4569
4603
|
- '? 0 */6 * * *'
|
|
4570
4604
|
timezone:
|
|
@@ -5516,16 +5550,25 @@ components:
|
|
|
5516
5550
|
- 3
|
|
5517
5551
|
triggeredBy:
|
|
5518
5552
|
type: string
|
|
5553
|
+
format: objectId
|
|
5554
|
+
x-celigo-refModel: users
|
|
5519
5555
|
readOnly: true
|
|
5520
|
-
description:
|
|
5556
|
+
description: |-
|
|
5557
|
+
Set on a run started on demand (`POST /v1/syncs/{_syncId}/run`): the `_id` of the
|
|
5558
|
+
account the sync belongs to (the sync's `_userId`). A run the schedule started
|
|
5559
|
+
carries none.
|
|
5521
5560
|
examples:
|
|
5522
|
-
-
|
|
5561
|
+
- 68c821306f5d848c881da205
|
|
5523
5562
|
canceledBy:
|
|
5524
5563
|
type: string
|
|
5525
5564
|
readOnly: true
|
|
5526
|
-
description:
|
|
5565
|
+
description: |-
|
|
5566
|
+
Who requested cancellation: the `_id` of a user for a run a person canceled, or
|
|
5567
|
+
`system` for a cancellation the platform made. Present once cancellation has been
|
|
5568
|
+
requested.
|
|
5527
5569
|
examples:
|
|
5528
|
-
-
|
|
5570
|
+
- 68c821306f5d848c881da205
|
|
5571
|
+
- system
|
|
5529
5572
|
runType:
|
|
5530
5573
|
type: string
|
|
5531
5574
|
readOnly: true
|
|
@@ -5561,7 +5604,7 @@ components:
|
|
|
5561
5604
|
numLoadedRecords: 12450
|
|
5562
5605
|
numExtractedRecords: 12450
|
|
5563
5606
|
numTablesSynced: 3
|
|
5564
|
-
triggeredBy:
|
|
5607
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
5565
5608
|
runType: normal
|
|
5566
5609
|
- _id: 6821c01c39db7c2b9cdc0e40
|
|
5567
5610
|
flowExecutionGroupId: 6821c01c39db7c2b9cdc0e39
|
|
@@ -5574,7 +5617,7 @@ components:
|
|
|
5574
5617
|
numLoadedRecords: 0
|
|
5575
5618
|
numExtractedRecords: 0
|
|
5576
5619
|
numTablesSynced: 1
|
|
5577
|
-
triggeredBy:
|
|
5620
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
5578
5621
|
runType: resync
|
|
5579
5622
|
datasetIds:
|
|
5580
5623
|
- 6a559b547885d8f93921c2ba
|
|
@@ -5609,7 +5652,7 @@ components:
|
|
|
5609
5652
|
numLoadedRecords: 12450
|
|
5610
5653
|
numExtractedRecords: 12450
|
|
5611
5654
|
numTablesSynced: 3
|
|
5612
|
-
triggeredBy:
|
|
5655
|
+
triggeredBy: 68c821306f5d848c881da205
|
|
5613
5656
|
runType: normal
|
|
5614
5657
|
totalCount: 1
|
|
5615
5658
|
SyncTableJob:
|
package/package.json
CHANGED