@celigo/api-specs 0.2.330 → 0.2.331
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/export.yml +63 -6
- package/dist/tool.yml +17 -3
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/export.yml
CHANGED
|
@@ -532,7 +532,9 @@ paths:
|
|
|
532
532
|
A Data loader export (`type: simple`) has no source to read. On every
|
|
533
533
|
route its preview parses the text in the doc's `sampleData` with the doc's
|
|
534
534
|
`file` settings and returns the records in a `parse` stage, with no
|
|
535
|
-
`_connectionId` in the doc
|
|
535
|
+
`_connectionId` in the doc — except a doc that also carries a
|
|
536
|
+
Transformation 2.0 (known issue IO-239973, described in the guidance).
|
|
537
|
+
A sample read with settings that do not match
|
|
536
538
|
it is not refused: on every route a comma-separated sample previewed with a
|
|
537
539
|
tab `columnDelimiter` and `hasHeaderRow: false` answers 200, each row
|
|
538
540
|
returned as one field (`Column0`), and a sample that holds a header row and
|
|
@@ -546,6 +548,19 @@ paths:
|
|
|
546
548
|
compile, a hook or script that throws, an error status from the source
|
|
547
549
|
and a Google Cloud Storage bucket or object that doesn't exist all do
|
|
548
550
|
(see the 422 response).
|
|
551
|
+
x-celigo-ai-guidance:
|
|
552
|
+
- |-
|
|
553
|
+
Known issue (IO-239973), until the fix is released: a Data loader doc (`type: simple`)
|
|
554
|
+
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
555
|
+
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
556
|
+
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
|
557
|
+
`source: transformation` and the message "Connection is required to perform preview." — on
|
|
558
|
+
each of the three preview routes. Do not set `_connectionId` for this 422: a Data loader
|
|
559
|
+
export has no connection. With a 1.0 transformation (`transform.expression.rules`) or an
|
|
560
|
+
output `filter` in place of the Transformation 2.0, such a doc returns 200, with a
|
|
561
|
+
`transform` or `outputFilter` stage after `parse`. A doc that carries the Transformation
|
|
562
|
+
2.0 and also a `mockOutput` returns 200, the mock's first record in a `parse` stage, and
|
|
563
|
+
the Transformation 2.0 is not run (live, 2026-11-21).
|
|
549
564
|
requestBody:
|
|
550
565
|
required: true
|
|
551
566
|
content:
|
|
@@ -761,11 +776,25 @@ paths:
|
|
|
761
776
|
is a 400 `invalid_ref` and a doc without `_connectionId` is a 422
|
|
762
777
|
`missing_required_field`. A `simple` doc (a Data loader export) that passed the type check
|
|
763
778
|
is not held to that last rule, because it has no connection: with `sampleData` as non-empty
|
|
764
|
-
text it is previewed without one
|
|
779
|
+
text it is previewed without one — except with a Transformation 2.0 on the doc (known
|
|
780
|
+
issue IO-239973, described in the guidance) — and so is one that carries a `mockOutput` and no
|
|
765
781
|
`sampleData`; with an object or array `sampleData` it fails with 422 `sample_data_invalid`.
|
|
766
782
|
The flow-scoped variant,
|
|
767
783
|
`POST /v1/integrations/{_integrationId}/flows/{_flowId}/exports/preview`, resolves the
|
|
768
784
|
integration's aliases the same way.
|
|
785
|
+
x-celigo-ai-guidance:
|
|
786
|
+
- |-
|
|
787
|
+
Known issue (IO-239973), until the fix is released: a Data loader doc (`type: simple`)
|
|
788
|
+
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
789
|
+
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
790
|
+
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
|
791
|
+
`source: transformation` and the message "Connection is required to perform preview." — on
|
|
792
|
+
each of the three preview routes. Do not set `_connectionId` for this 422: a Data loader
|
|
793
|
+
export has no connection. With a 1.0 transformation (`transform.expression.rules`) or an
|
|
794
|
+
output `filter` in place of the Transformation 2.0, such a doc returns 200, with a
|
|
795
|
+
`transform` or `outputFilter` stage after `parse`. A doc that carries the Transformation
|
|
796
|
+
2.0 and also a `mockOutput` returns 200, the mock's first record in a `parse` stage, and
|
|
797
|
+
the Transformation 2.0 is not run (live, 2026-11-21).
|
|
769
798
|
operationId: previewExportDataInIntegration
|
|
770
799
|
tags:
|
|
771
800
|
- Exports
|
|
@@ -901,12 +930,26 @@ paths:
|
|
|
901
930
|
is a 400 `invalid_ref` and a doc without `_connectionId` is a 422
|
|
902
931
|
`missing_required_field`. A `simple` doc (a Data loader export) that passed the type check
|
|
903
932
|
is not held to that last rule, because it has no connection: with `sampleData` as non-empty
|
|
904
|
-
text it is previewed without one
|
|
933
|
+
text it is previewed without one — except with a Transformation 2.0 on the doc (known
|
|
934
|
+
issue IO-239973, described in the guidance) — and so is one that carries a `mockOutput` and no
|
|
905
935
|
`sampleData`; with an object or array `sampleData` it fails with 422 `sample_data_invalid`.
|
|
906
936
|
The unscoped `POST /v1/exports/preview`, past the same type
|
|
907
937
|
check, rejects an alias with 400 `invalid_ref`;
|
|
908
938
|
`POST /v1/integrations/{_integrationId}/exports/preview` resolves the integration's
|
|
909
939
|
aliases without a flow.
|
|
940
|
+
x-celigo-ai-guidance:
|
|
941
|
+
- |-
|
|
942
|
+
Known issue (IO-239973), until the fix is released: a Data loader doc (`type: simple`)
|
|
943
|
+
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
944
|
+
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
945
|
+
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
|
946
|
+
`source: transformation` and the message "Connection is required to perform preview." — on
|
|
947
|
+
each of the three preview routes. Do not set `_connectionId` for this 422: a Data loader
|
|
948
|
+
export has no connection. With a 1.0 transformation (`transform.expression.rules`) or an
|
|
949
|
+
output `filter` in place of the Transformation 2.0, such a doc returns 200, with a
|
|
950
|
+
`transform` or `outputFilter` stage after `parse`. A doc that carries the Transformation
|
|
951
|
+
2.0 and also a `mockOutput` returns 200, the mock's first record in a `parse` stage, and
|
|
952
|
+
the Transformation 2.0 is not run (live, 2026-11-21).
|
|
910
953
|
operationId: previewExportData
|
|
911
954
|
tags:
|
|
912
955
|
- Exports
|
|
@@ -18205,9 +18248,23 @@ components:
|
|
|
18205
18248
|
description: |-
|
|
18206
18249
|
Sample data payload used for previewing and testing the export. On a Data loader export
|
|
18207
18250
|
(`type: simple`) it is the text of a sample of the file: the preview endpoints parse it
|
|
18208
|
-
with the export's `file` settings and return the records
|
|
18209
|
-
|
|
18210
|
-
|
|
18251
|
+
with the export's `file` settings and return the records — except when the doc also
|
|
18252
|
+
carries a Transformation 2.0 (known issue IO-239973, described in the guidance). An
|
|
18253
|
+
object or array value there fails the preview with 422 `sample_data_invalid` on each
|
|
18254
|
+
of the three preview routes.
|
|
18255
|
+
x-celigo-ai-guidance:
|
|
18256
|
+
- |-
|
|
18257
|
+
Known issue (IO-239973), until the fix is released: a Data loader doc (`type: simple`)
|
|
18258
|
+
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
18259
|
+
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
18260
|
+
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
|
18261
|
+
`source: transformation` and the message "Connection is required to perform preview." — on
|
|
18262
|
+
each of the three preview routes. Do not set `_connectionId` for this 422: a Data loader
|
|
18263
|
+
export has no connection. With a 1.0 transformation (`transform.expression.rules`) or an
|
|
18264
|
+
output `filter` in place of the Transformation 2.0, such a doc returns 200, with a
|
|
18265
|
+
`transform` or `outputFilter` stage after `parse`. A doc that carries the Transformation
|
|
18266
|
+
2.0 and also a `mockOutput` returns 200, the mock's first record in a `parse` stage, and
|
|
18267
|
+
the Transformation 2.0 is not run (live, 2026-11-21).
|
|
18211
18268
|
sampleHeaders:
|
|
18212
18269
|
type: array
|
|
18213
18270
|
description: Sample HTTP headers used for previewing and testing the export.
|
package/dist/tool.yml
CHANGED
|
@@ -41250,9 +41250,23 @@ components:
|
|
|
41250
41250
|
description: |-
|
|
41251
41251
|
Sample data payload used for previewing and testing the export. On a Data loader export
|
|
41252
41252
|
(`type: simple`) it is the text of a sample of the file: the preview endpoints parse it
|
|
41253
|
-
with the export's `file` settings and return the records
|
|
41254
|
-
|
|
41255
|
-
|
|
41253
|
+
with the export's `file` settings and return the records — except when the doc also
|
|
41254
|
+
carries a Transformation 2.0 (known issue IO-239973, described in the guidance). An
|
|
41255
|
+
object or array value there fails the preview with 422 `sample_data_invalid` on each
|
|
41256
|
+
of the three preview routes.
|
|
41257
|
+
x-celigo-ai-guidance:
|
|
41258
|
+
- |-
|
|
41259
|
+
Known issue (IO-239973), until the fix is released: a Data loader doc (`type: simple`)
|
|
41260
|
+
parsed from a CSV `sampleData` that also carries a Transformation 2.0
|
|
41261
|
+
(`transform.expression.rulesTwoDotZero`) fails at the transformation with 422 — the parsed
|
|
41262
|
+
records in a `parse` stage, then one error per record with `code: missing_required_field`,
|
|
41263
|
+
`source: transformation` and the message "Connection is required to perform preview." — on
|
|
41264
|
+
each of the three preview routes. Do not set `_connectionId` for this 422: a Data loader
|
|
41265
|
+
export has no connection. With a 1.0 transformation (`transform.expression.rules`) or an
|
|
41266
|
+
output `filter` in place of the Transformation 2.0, such a doc returns 200, with a
|
|
41267
|
+
`transform` or `outputFilter` stage after `parse`. A doc that carries the Transformation
|
|
41268
|
+
2.0 and also a `mockOutput` returns 200, the mock's first record in a `parse` stage, and
|
|
41269
|
+
the Transformation 2.0 is not run (live, 2026-11-21).
|
|
41256
41270
|
sampleHeaders:
|
|
41257
41271
|
type: array
|
|
41258
41272
|
description: Sample HTTP headers used for previewing and testing the export.
|
package/package.json
CHANGED