@celigo/api-specs 0.2.341 → 0.2.342
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 +43 -7
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/sync.yml
CHANGED
|
@@ -2398,9 +2398,10 @@ paths:
|
|
|
2398
2398
|
summary: List events for a sync
|
|
2399
2399
|
description: |-
|
|
2400
2400
|
Returns the events recorded for a sync across all of its runs — schema drift the
|
|
2401
|
-
platform detected or applied, and data-catalog activity
|
|
2402
|
-
|
|
2403
|
-
retention
|
|
2401
|
+
platform detected or applied, and data-catalog activity, which includes each
|
|
2402
|
+
destination table a run created — newest first. Events are retained per the
|
|
2403
|
+
account's data retention period; a `time_lte` older than the retention window
|
|
2404
|
+
returns an empty list.
|
|
2404
2405
|
operationId: listSyncEvents
|
|
2405
2406
|
tags:
|
|
2406
2407
|
- Syncs
|
|
@@ -2469,15 +2470,20 @@ paths:
|
|
|
2469
2470
|
- Schema Drift
|
|
2470
2471
|
x-enumDescriptions:
|
|
2471
2472
|
Schema Drift: Changes to the source schema that were detected or applied.
|
|
2472
|
-
Data Catalog: Dataset metadata activity recorded while cataloging the source.
|
|
2473
|
+
Data Catalog: Dataset metadata activity recorded while cataloging the source, or while recording a destination table the sync created during load.
|
|
2473
2474
|
- name: resourceName
|
|
2474
2475
|
in: query
|
|
2475
2476
|
required: false
|
|
2476
|
-
description:
|
|
2477
|
+
description: |-
|
|
2478
|
+
Only return events about one resource. Pass the name whole, as the events
|
|
2479
|
+
carry it in `resourceName`: a source table or object for its `Extract`-stage
|
|
2480
|
+
events, a destination table's fully qualified name for the `Load`-stage
|
|
2481
|
+
`Table added` event that records its creation.
|
|
2477
2482
|
schema:
|
|
2478
2483
|
type: string
|
|
2479
2484
|
examples:
|
|
2480
2485
|
- Account
|
|
2486
|
+
- acme-analytics.netsuite_raw.item_master
|
|
2481
2487
|
- name: flowExecutionGroupId
|
|
2482
2488
|
in: query
|
|
2483
2489
|
required: false
|
|
@@ -2532,6 +2538,24 @@ paths:
|
|
|
2532
2538
|
metadata:
|
|
2533
2539
|
action: Table removed
|
|
2534
2540
|
resourceType: Table
|
|
2541
|
+
table_created:
|
|
2542
|
+
summary: Destination table created during a load
|
|
2543
|
+
value:
|
|
2544
|
+
events:
|
|
2545
|
+
- id: 5d2f7c1e-9a44-4c0b-8f6e-2b7a1d3c9e10
|
|
2546
|
+
_syncId: 6a4b8bfb731a7a5cae9bd364
|
|
2547
|
+
_userId: 68c821306f5d848c881da205
|
|
2548
|
+
flowExecutionGroupId: d0f875a575bd4b8c944533da773f350a
|
|
2549
|
+
resourceName: acme-analytics.netsuite_raw.item_master
|
|
2550
|
+
severity: INFO
|
|
2551
|
+
eventTime: '2026-07-13T12:41:52.118Z'
|
|
2552
|
+
type: Data Catalog
|
|
2553
|
+
stage: Load
|
|
2554
|
+
metadata:
|
|
2555
|
+
action: Table added
|
|
2556
|
+
resourceType: Table
|
|
2557
|
+
query:
|
|
2558
|
+
- CREATE TABLE IF NOT EXISTS `acme-analytics`.`netsuite_raw`.`item_master` (`Name` STRING,`id` INT64 NOT NULL,`recordType` STRING,`_celigo_deleted` BOOL,`_celigo_extracted_at` TIMESTAMP,`_celigo_loaded_at` TIMESTAMP,`_celigo_job_id` STRING,PRIMARY KEY (`id`) NOT ENFORCED)
|
|
2535
2559
|
'401':
|
|
2536
2560
|
$ref: '#/components/responses/401-unauthorized'
|
|
2537
2561
|
'403':
|
|
@@ -5945,9 +5969,13 @@ components:
|
|
|
5945
5969
|
- d0f875a575bd4b8c944533da773f350a
|
|
5946
5970
|
resourceName:
|
|
5947
5971
|
type: string
|
|
5948
|
-
description:
|
|
5972
|
+
description: |-
|
|
5973
|
+
What the event is about. On an `Extract`-stage event it is the source table
|
|
5974
|
+
or object; on a `Load`-stage `Table added` event it is the destination
|
|
5975
|
+
table's fully qualified name.
|
|
5949
5976
|
examples:
|
|
5950
5977
|
- Account
|
|
5978
|
+
- acme-analytics.netsuite_raw.item_master
|
|
5951
5979
|
severity:
|
|
5952
5980
|
type: string
|
|
5953
5981
|
enum:
|
|
@@ -5980,7 +6008,7 @@ components:
|
|
|
5980
6008
|
parameter.
|
|
5981
6009
|
x-enumDescriptions:
|
|
5982
6010
|
Schema Drift: A change to the source schema was detected or applied (e.g. table added, column removed).
|
|
5983
|
-
Data Catalog: Dataset metadata activity recorded while cataloging the source.
|
|
6011
|
+
Data Catalog: Dataset metadata activity recorded while cataloging the source, or while recording a destination table the sync created during load.
|
|
5984
6012
|
examples:
|
|
5985
6013
|
- Schema Drift
|
|
5986
6014
|
stage:
|
|
@@ -6007,6 +6035,10 @@ components:
|
|
|
6007
6035
|
`Column expanded`, `Column reduced`, `Column constraint updated`), the
|
|
6008
6036
|
`resourceType` affected, and — for column-level drift — fields like `fieldName`,
|
|
6009
6037
|
`oldValue`, `newValue`, or the applied DDL under `query`.
|
|
6038
|
+
|
|
6039
|
+
A `Load`-stage `Table added` event records a destination table the sync
|
|
6040
|
+
created: its `type` is `Data Catalog`, its `resourceName` is the table, and
|
|
6041
|
+
`query` is an array holding the `CREATE TABLE` statement the sync ran.
|
|
6010
6042
|
oneOf:
|
|
6011
6043
|
- title: object
|
|
6012
6044
|
type: object
|
|
@@ -6016,6 +6048,10 @@ components:
|
|
|
6016
6048
|
examples:
|
|
6017
6049
|
- action: Table removed
|
|
6018
6050
|
resourceType: Table
|
|
6051
|
+
- action: Table added
|
|
6052
|
+
resourceType: Table
|
|
6053
|
+
query:
|
|
6054
|
+
- CREATE TABLE IF NOT EXISTS `acme-analytics`.`netsuite_raw`.`item_master` (`Name` STRING,`id` INT64 NOT NULL,`recordType` STRING,`_celigo_deleted` BOOL,`_celigo_extracted_at` TIMESTAMP,`_celigo_loaded_at` TIMESTAMP,`_celigo_job_id` STRING,PRIMARY KEY (`id`) NOT ENFORCED)
|
|
6019
6055
|
responses:
|
|
6020
6056
|
401-unauthorized-or-scoped-token:
|
|
6021
6057
|
description: |-
|
package/package.json
CHANGED