@celigo/api-specs 0.2.329 → 0.2.330
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 +4911 -4891
- package/dist/flow.yml +30 -8
- package/dist/tool.yml +4354 -4354
- package/package.json +1 -1
- package/schemas.json +664 -673
package/dist/flow.yml
CHANGED
|
@@ -959,6 +959,9 @@ paths:
|
|
|
959
959
|
- An instance counts as disabled while its abstract flow is disabled, whatever its own
|
|
960
960
|
`disabled` says, and is refused with `422 invalid_flow` like any disabled flow. Its
|
|
961
961
|
merged read (`GET /v1/flows/{_id}?mergeInstance=true`) shows `disabled: true` in that state.
|
|
962
|
+
- A Data loader flow (its source is an export with `type: simple`) is not started by a run
|
|
963
|
+
request with an empty body: that request is refused with `422 invalid_flow`, whether the
|
|
964
|
+
flow is disabled or not.
|
|
962
965
|
|
|
963
966
|
|
|
964
967
|
To trace a run end-to-end, arm debug logging before calling this, then use the returned
|
|
@@ -5119,7 +5122,9 @@ components:
|
|
|
5119
5122
|
description: |-
|
|
5120
5123
|
Export that retrieves data from the source system. The server rejects page
|
|
5121
5124
|
generator entries without a valid export reference unless the entry is a
|
|
5122
|
-
placeholder still being set up (`setupInProgress: true`).
|
|
5125
|
+
placeholder still being set up (`setupInProgress: true`). A Data loader export
|
|
5126
|
+
(`type: simple`) is rejected here too: a flow references it through its top-level
|
|
5127
|
+
`_exportId`.
|
|
5123
5128
|
examples:
|
|
5124
5129
|
- 60a2c4e6f321d800129a1a3c
|
|
5125
5130
|
x-celigo-ai-guidance:
|
|
@@ -6760,20 +6765,37 @@ components:
|
|
|
6760
6765
|
format: objectId
|
|
6761
6766
|
x-celigo-refModel: exports
|
|
6762
6767
|
description: |-
|
|
6763
|
-
Source export of a
|
|
6764
|
-
|
|
6765
|
-
|
|
6766
|
-
|
|
6768
|
+
Source export of a two-step flow — one source and one destination, referenced
|
|
6769
|
+
directly instead of through `pageGenerators`/`pageProcessors`; the server accepts and
|
|
6770
|
+
serves both forms. It is the only form a Data loader flow takes: a flow whose source
|
|
6771
|
+
is a Data loader export (`type: simple`) carries `_exportId` and `_importId` and no
|
|
6772
|
+
step arrays. Prefer `pageGenerators` for every other source.
|
|
6767
6773
|
examples:
|
|
6768
6774
|
- 60a2c4e6f321d800129a1a3c
|
|
6775
|
+
x-celigo-ai-guidance:
|
|
6776
|
+
- |-
|
|
6777
|
+
Build a Data loader flow as `_exportId` (the `type: simple` export) plus `_importId`.
|
|
6778
|
+
The same export in `pageGenerators` fails with 422 `invalid_flow` ("… of type simple
|
|
6779
|
+
cannot be used as a pageGenerator"), and `pageProcessors` or `routers` beside
|
|
6780
|
+
`_exportId` fails with 422 `invalid_flow` ("pageProcessors can't be used with
|
|
6781
|
+
_exportId"), so the flow has one destination, `_importId`, and no lookup step or
|
|
6782
|
+
router. A flow that carries `_exportId` alone is saved too, and a later PUT adds,
|
|
6783
|
+
replaces or drops `_importId`.
|
|
6784
|
+
- |-
|
|
6785
|
+
An abstract flow (`isAbstract: true`) takes neither field: a create that carries
|
|
6786
|
+
`_exportId` and `_importId` fails with 422 `abstract_flow_invalid_fields`.
|
|
6787
|
+
- |-
|
|
6788
|
+
A PUT that carries `_exportId` and `_importId` and omits the step arrays turns a
|
|
6789
|
+
flow saved with no steps, or with one import in `pageProcessors` and no source, into
|
|
6790
|
+
the two-step form.
|
|
6769
6791
|
_importId:
|
|
6770
6792
|
type: string
|
|
6771
6793
|
format: objectId
|
|
6772
6794
|
x-celigo-refModel: imports
|
|
6773
6795
|
description: |-
|
|
6774
|
-
Destination import of a
|
|
6775
|
-
|
|
6776
|
-
|
|
6796
|
+
Destination import of a two-step flow — one source and one destination, referenced
|
|
6797
|
+
directly. Paired with `_exportId` instead of `pageGenerators`/`pageProcessors`, and the
|
|
6798
|
+
one destination of a Data loader flow. Prefer `pageProcessors` for every other flow.
|
|
6777
6799
|
examples:
|
|
6778
6800
|
- 60a2c4e6f321d800129a1a3c
|
|
6779
6801
|
_runNextFlowIds:
|