@celigo/api-specs 0.2.322 → 0.2.323
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/connection.yml +55 -9
- package/package.json +1 -1
- package/schemas.json +2 -2
package/dist/connection.yml
CHANGED
|
@@ -10597,7 +10597,10 @@ components:
|
|
|
10597
10597
|
storage connection (`assistant: celigofilestorage`) may reach in the account: the
|
|
10598
10598
|
account's custom APIs, listeners, standard integrator.io APIs and Celigo Storage
|
|
10599
10599
|
folders. Neither connection can be created without it — the rule keys on the body
|
|
10600
|
-
`assistant
|
|
10600
|
+
`assistant`. The caller's role decides which scope a save may carry: the account
|
|
10601
|
+
owner and administrators save any `type`, and their update that omits `accessScope`
|
|
10602
|
+
leaves the stored scope unchanged; a user with Manage access saves `integration`
|
|
10603
|
+
only, for integrations they manage, and re-sends it on every PUT. A File
|
|
10601
10604
|
storage connection's `custom` scope takes Celigo Storage folders only: a non-empty
|
|
10602
10605
|
`_apiIds` or `_exportIds` on it fails with 422 `invalid_access_scope` ("<field> is not
|
|
10603
10606
|
supported on access scopes for this connector."). The connection document never
|
|
@@ -10614,7 +10617,7 @@ components:
|
|
|
10614
10617
|
x-enumDescriptions:
|
|
10615
10618
|
full: Every custom API, listener and standard integrator.io API in the account, and every Celigo Storage folder
|
|
10616
10619
|
custom: Only the APIs, listeners and Celigo Storage folders listed in the sibling arrays
|
|
10617
|
-
integration: The standard integrator.io APIs
|
|
10620
|
+
integration: The standard integrator.io APIs for the resources of the integrations listed in `_integrationIds`, and those integrations' system folders in Celigo Storage
|
|
10618
10621
|
description: |-
|
|
10619
10622
|
How much of the account the connection may reach. Each type takes its own
|
|
10620
10623
|
selections: `full` takes none, `custom` takes APIs, listeners and folder paths,
|
|
@@ -10642,7 +10645,8 @@ components:
|
|
|
10642
10645
|
description: |-
|
|
10643
10646
|
Integrations whose resources — the integration, its flows and their errors, its
|
|
10644
10647
|
exports, imports and connections — the connection may reach through the standard
|
|
10645
|
-
integrator.io APIs
|
|
10648
|
+
integrator.io APIs, and whose system folders it may read and write in Celigo
|
|
10649
|
+
Storage. Present when `type` is `integration`.
|
|
10646
10650
|
_fileStoragePaths:
|
|
10647
10651
|
type: array
|
|
10648
10652
|
items:
|
|
@@ -10698,9 +10702,40 @@ components:
|
|
|
10698
10702
|
x-celigo-ai-guidance:
|
|
10699
10703
|
- |-
|
|
10700
10704
|
A Celigo APIs connection POST without `accessScope` fails with 422 `missing_required_field`
|
|
10701
|
-
("Scope is required for this connection. Please select Full access or Custom.")
|
|
10702
|
-
|
|
10703
|
-
|
|
10705
|
+
("Scope is required for this connection. Please select Full access or Custom."). As the
|
|
10706
|
+
account owner and as an administrator, a PUT without it answered 200 on a connection of
|
|
10707
|
+
each stored scope, on both connectors, and the stored scope read back unchanged. A
|
|
10708
|
+
`type` outside the enum fails with 422 `enum`.
|
|
10709
|
+
- |-
|
|
10710
|
+
The caller's role limits the `type` a save may carry, on both connectors. As the account
|
|
10711
|
+
owner and as an administrator, POST of a Celigo APIs connection and of a Celigo File
|
|
10712
|
+
storage connection with `full`, with `custom` and with `integration` answered 201. As a
|
|
10713
|
+
user with Manage access — account-wide, on one integration, or Monitor account-wide
|
|
10714
|
+
with Manage on one integration — POST with `type: integration` listing an integration
|
|
10715
|
+
the user manages answered 201, and POST with `full` answered 403 `access_restricted`
|
|
10716
|
+
("You don't have the right to perform this action. Please contact your account
|
|
10717
|
+
administrator to receive manage permission for this account."); with account-wide
|
|
10718
|
+
Manage, POST with `custom` or with no `accessScope` answered the same 403. `integration`
|
|
10719
|
+
listing an integration the user does not manage answered 403 `invalid_access`. For
|
|
10720
|
+
such a caller send `integration` with the integrations the connection is for; a `full`
|
|
10721
|
+
or `custom` connection is the account owner's or an administrator's to create.
|
|
10722
|
+
- |-
|
|
10723
|
+
For a user with Manage access, a PUT of a connection whose stored scope is `full` or
|
|
10724
|
+
`custom` answered that 403 whether the body left `accessScope` out or carried
|
|
10725
|
+
`integration`, and a PUT of an `integration` connection answered 200 only when the
|
|
10726
|
+
body carried `accessScope` with `type: integration` — without it, or with `full` or
|
|
10727
|
+
`custom`, the same 403. Read the stored scope and re-send it on every PUT. `PATCH` of
|
|
10728
|
+
`/name` answered 204 on a connection of each scope and `PATCH` of
|
|
10729
|
+
`/http/concurrencyLevel` on a `full` and an `integration` connection; DELETE answered
|
|
10730
|
+
204 on an `integration` connection and the same 403 on a `full` or `custom` one. As an
|
|
10731
|
+
administrator, DELETE of a `full` and of a `custom` connection answered 204.
|
|
10732
|
+
- |-
|
|
10733
|
+
That 403 sentence asks for manage permission whatever the caller holds: a caller who
|
|
10734
|
+
already has Manage access received it on each refused request above. A user with
|
|
10735
|
+
Monitor access and no Manage grant was refused each create — of an ordinary connection
|
|
10736
|
+
and of a Celigo APIs connection — with 403 `access_restricted` and another sentence
|
|
10737
|
+
("The role which you are associated with doesn't have the required permissions to
|
|
10738
|
+
perform the action.").
|
|
10704
10739
|
- |-
|
|
10705
10740
|
Each mismatch between `type` and the selections fails with 422 `invalid_access_scope` and
|
|
10706
10741
|
names the field: `full` with any of `_apiIds`, `_exportIds`, `_integrationIds` or
|
|
@@ -10711,11 +10746,21 @@ components:
|
|
|
10711
10746
|
- |-
|
|
10712
10747
|
Choose the narrowest `type` the connection's use needs: a flow that reads or writes Celigo
|
|
10713
10748
|
Storage files → `custom` with the folder paths it uses (`/Reports/` grants that folder and
|
|
10714
|
-
everything beneath it)
|
|
10749
|
+
everything beneath it), or `integration` when the files live in that integration's
|
|
10750
|
+
system folder; specific custom APIs or listeners → `custom` with their ids; a
|
|
10715
10751
|
flow that reads one integration's resources through the standard integrator.io REST APIs
|
|
10716
10752
|
(its flows, a flow's errors) → `integration` with that integration; the standard APIs
|
|
10717
10753
|
across the account → `full`. A `custom` connection with `_fileStoragePaths` omitted or
|
|
10718
10754
|
empty has no storage access — its storage step fails at run time with 401.
|
|
10755
|
+
- |-
|
|
10756
|
+
Through an `integration` connection of either connector, `GET /v1/storage/items?type=folder`
|
|
10757
|
+
at the account root listed only the listed integration's system folder. Listing inside
|
|
10758
|
+
that folder answered 200, `POST /v1/storage/items` with it as `_parentId` answered 201,
|
|
10759
|
+
and `POST /v1/storage/files/initiateUpload` into it answered 200. The same list and
|
|
10760
|
+
create against another integration's system folder and against a folder at the account
|
|
10761
|
+
root, a create at the account root itself, and an upload into a folder at the root
|
|
10762
|
+
each answered 403 `STORAGE_INTEGRATION_ACCESS_DENIED` ("You do not have access to this
|
|
10763
|
+
folder").
|
|
10719
10764
|
- |-
|
|
10720
10765
|
Through a `custom` connection listing one listener, `POST /v1/exports/{_id}/data` to
|
|
10721
10766
|
that listener answered 204, while `GET /v1/exports/{_id}` for the same listener,
|
|
@@ -10735,8 +10780,9 @@ components:
|
|
|
10735
10780
|
- |-
|
|
10736
10781
|
A Celigo File storage connection (`type: http`, `assistant: celigofilestorage`) POST
|
|
10737
10782
|
without `accessScope` fails with 422 `missing_required_field` ("Scope is required for
|
|
10738
|
-
this connection. Please select Full access or Custom."): send `{type: full}
|
|
10739
|
-
`{type: custom, _fileStoragePaths: [...]}
|
|
10783
|
+
this connection. Please select Full access or Custom."): send `{type: full}`,
|
|
10784
|
+
`{type: custom, _fileStoragePaths: [...]}` or `{type: integration, _integrationIds: [...]}`.
|
|
10785
|
+
A non-empty `_apiIds` or `_exportIds` on
|
|
10740
10786
|
it fails, on POST and PUT, with 422 `invalid_access_scope` ("_apiIds is not supported
|
|
10741
10787
|
on access scopes for this connector."). The save fills `http._httpConnectorId` and
|
|
10742
10788
|
`http._httpConnectorVersionId` from the connector whose `legacyId` is
|
package/package.json
CHANGED