@celigo/api-specs 0.2.13 → 0.2.15
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/integration.yml +23 -12
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/integration.yml
CHANGED
|
@@ -1475,23 +1475,27 @@ paths:
|
|
|
1475
1475
|
Removes a connection's registration from the integration. This does not delete the connection
|
|
1476
1476
|
itself -- it only removes it from the integration's registered-connections list.
|
|
1477
1477
|
|
|
1478
|
-
Fails while any resource in the integration still uses the connection
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1478
|
+
Fails while any resource in the integration still uses the connection. Two references
|
|
1479
|
+
are known to count: any step in one of its flows, Tools, or APIs whose `_connectionId`
|
|
1480
|
+
is this connection -- every step is an export or import document, whatever its kind
|
|
1481
|
+
(lookup, listener, AI agent, guardrail, Tool wrapper, transfer) -- and an alias on the
|
|
1482
|
+
integration or one of its flows whose `_connectionId` points at it. Move the steps to
|
|
1483
|
+
another connection first (a whole flow at once with
|
|
1484
|
+
`PUT /v1/flows/{_id}/replaceConnection`; Tool and API steps through their own
|
|
1485
|
+
step-level `replaceConnection`), remove or retarget any alias that still points at it,
|
|
1486
|
+
then unregister.
|
|
1485
1487
|
x-celigo-ai-guidance:
|
|
1486
1488
|
- |-
|
|
1487
1489
|
Before calling, list what the integration still binds to this connection: the
|
|
1488
1490
|
`_connectionId` of every export and import in the integration
|
|
1489
1491
|
(`GET /v1/integrations/{_id}/exports` and `/imports` cover flow, Tool, and API
|
|
1490
1492
|
steps) and every `aliases[]._connectionId` on the integration and its flows. While
|
|
1491
|
-
any remain the platform returns 400 `not_allowed`
|
|
1493
|
+
any remain the platform returns 400 `not_allowed` -- "The connection is being actively
|
|
1492
1494
|
used by the integration. Please ensure no integration resource is using the
|
|
1493
|
-
connection before deregistering."
|
|
1494
|
-
|
|
1495
|
+
connection before deregistering." for a bound step, "This connection is being
|
|
1496
|
+
referenced by an alias. Delete the alias before deregistering the connection." for
|
|
1497
|
+
an alias. Aliases are separate from step bindings: retarget or remove the matching
|
|
1498
|
+
`aliases` entries on the integration or flow as their own write.
|
|
1495
1499
|
parameters:
|
|
1496
1500
|
- name: _id
|
|
1497
1501
|
in: path
|
|
@@ -1519,8 +1523,10 @@ paths:
|
|
|
1519
1523
|
'400':
|
|
1520
1524
|
description: |-
|
|
1521
1525
|
A resource in the integration still uses the connection -- a flow, Tool, or API
|
|
1522
|
-
step bound to it
|
|
1523
|
-
|
|
1526
|
+
step bound to it ("The connection is being actively used by the integration..."),
|
|
1527
|
+
or an alias on the integration or one of its flows that points at it ("This
|
|
1528
|
+
connection is being referenced by an alias. Delete the alias before deregistering
|
|
1529
|
+
the connection."). Error code: `not_allowed` for both.
|
|
1524
1530
|
content:
|
|
1525
1531
|
application/json:
|
|
1526
1532
|
schema:
|
|
@@ -1531,6 +1537,11 @@ paths:
|
|
|
1531
1537
|
errors:
|
|
1532
1538
|
- code: not_allowed
|
|
1533
1539
|
message: The connection is being actively used by the integration. Please ensure no integration resource is using the connection before deregistering.
|
|
1540
|
+
alias_referenced:
|
|
1541
|
+
value:
|
|
1542
|
+
errors:
|
|
1543
|
+
- code: not_allowed
|
|
1544
|
+
message: This connection is being referenced by an alias. Delete the alias before deregistering the connection.
|
|
1534
1545
|
'401':
|
|
1535
1546
|
$ref: '#/components/responses/401-unauthorized'
|
|
1536
1547
|
'404':
|
package/package.json
CHANGED