@celigo/api-specs 0.2.337 → 0.2.338
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/sync.yml +7 -4
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/sync.yml
CHANGED
|
@@ -5429,7 +5429,8 @@ components:
|
|
|
5429
5429
|
- createdAt
|
|
5430
5430
|
description: |-
|
|
5431
5431
|
A sync job represents one execution of a sync. Sync jobs are read-only records
|
|
5432
|
-
created by the platform when a sync run is triggered (manually
|
|
5432
|
+
created by the platform when a sync run is triggered (manually, on schedule, or by another
|
|
5433
|
+
sync that lists this one in its `_runNextSyncIds`). The job tracks
|
|
5433
5434
|
extraction, loading, and error counts across the tables the run attempted. A delta table with
|
|
5434
5435
|
no changed records is still attempted and counted, with zero record counts. An enabled dataset
|
|
5435
5436
|
the run did not attempt -- a run scoped with `datasetIds` covers only the selected datasets --
|
|
@@ -5439,6 +5440,7 @@ components:
|
|
|
5439
5440
|
x-celigo-ai-guidance:
|
|
5440
5441
|
- A completed parent with zero errors says nothing about datasets the run did not attempt. To find them, compare the family's `tables` (GET /v1/syncJobs/{_syncJobId}/family) with the sync's enabled datasets (GET /v1/syncs/{_syncId}/datasets?enable=true) -- never infer it from `numTablesSynced` alone or from the table jobs that did run.
|
|
5441
5442
|
- A run that failed at initialization -- an error record with stage `init` and an empty `tables` in the family -- has been recorded with status `completed` as well as with `failed`. Decide whether a run loaded anything from `numErrors`, the record counts and the family's `tables`, never from `status` alone.
|
|
5443
|
+
- Do not read `triggeredBy` as proof that a person started a run -- a run that another sync started carries the same value, and no field of the job names that sync. To find what can have started it, look for the syncs whose `_runNextSyncIds` hold this sync's `_id` (GET /v1/syncs); when more than one does, the job does not say which.
|
|
5442
5444
|
properties:
|
|
5443
5445
|
_id:
|
|
5444
5446
|
type: string
|
|
@@ -5554,9 +5556,10 @@ components:
|
|
|
5554
5556
|
x-celigo-refModel: users
|
|
5555
5557
|
readOnly: true
|
|
5556
5558
|
description: |-
|
|
5557
|
-
Set on a run started on demand (`POST /v1/syncs/{_syncId}/run`)
|
|
5558
|
-
|
|
5559
|
-
|
|
5559
|
+
Set on a run started on demand (`POST /v1/syncs/{_syncId}/run`) and on a run that
|
|
5560
|
+
another sync started through its `_runNextSyncIds` -- also when that other sync ran on
|
|
5561
|
+
its schedule: the `_id` of the account the sync belongs to (the sync's `_userId`). A run
|
|
5562
|
+
the schedule started carries none.
|
|
5560
5563
|
examples:
|
|
5561
5564
|
- 68c821306f5d848c881da205
|
|
5562
5565
|
canceledBy:
|
package/package.json
CHANGED