@celigo/api-specs 0.2.275 → 0.2.276
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/api.yml +9 -4
- package/dist/connection.yml +73 -12
- package/dist/enduser.yml +9 -4
- package/dist/mcp-server.yml +9 -4
- package/dist/tool.yml +9 -4
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/api.yml
CHANGED
|
@@ -8707,10 +8707,15 @@ components:
|
|
|
8707
8707
|
description: |-
|
|
8708
8708
|
When true, the connection has been taken offline: a flow run requested while its
|
|
8709
8709
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
8710
|
-
itself once the connection is back online.
|
|
8711
|
-
|
|
8712
|
-
|
|
8713
|
-
|
|
8710
|
+
itself once the connection is back online. Every connection test writes the flag from
|
|
8711
|
+
its outcome — the test a create or `PUT` runs, the UI's Test connection and
|
|
8712
|
+
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
8713
|
+
clears it (a ping of an `http` connection with no `http.ping` runs no test and leaves
|
|
8714
|
+
it unchanged); the platform re-tests an offline connection on its own (about once an hour,
|
|
8715
|
+
and after six failed attempts leaves it offline until someone fixes it) and tests an
|
|
8716
|
+
online one when a client asks. After a write the result arrives in the response or, when the
|
|
8717
|
+
target is slow to answer, shortly afterwards (the audit log records a `system` change;
|
|
8718
|
+
`lastModified` doesn't move), so read it again a few seconds after the write. On an `http` connection
|
|
8714
8719
|
the write runs the test only when `http.ping` is configured, and an `http` connection
|
|
8715
8720
|
that was never tested has no `offline` key. A run also takes an `http` connection
|
|
8716
8721
|
offline when a request gets its authentication-failure status (see
|
package/dist/connection.yml
CHANGED
|
@@ -1217,9 +1217,13 @@ paths:
|
|
|
1217
1217
|
GET variant of the saved-connection ping — identical behavior to
|
|
1218
1218
|
`POST /v1/connections/{_id}/ping`, with no request body to send. Runs the adaptor's ping
|
|
1219
1219
|
routine against the connection identified by `_id` to verify its credentials and network
|
|
1220
|
-
configuration still work; no data is read
|
|
1221
|
-
|
|
1222
|
-
|
|
1220
|
+
configuration still work; no application data is read or written. It is the same test as
|
|
1221
|
+
the UI's Test connection, and the platform writes the connection's `offline` flag from its
|
|
1222
|
+
outcome: a failing ping sets `offline: true` (the connection's flows wait queued and the
|
|
1223
|
+
offline notification is sent), a passing one sets `offline: false`. An `http` connection with
|
|
1224
|
+
no `http.ping` answers `{code: 200}` without sending any request — no test ran, so `offline` is
|
|
1225
|
+
left unchanged — unless it authorizes with an authorization code and holds no token yet: that one
|
|
1226
|
+
answers `missing_token`.
|
|
1223
1227
|
|
|
1224
1228
|
Inspect the response body, not the HTTP status, to determine the outcome: success and
|
|
1225
1229
|
adaptor-level failures both return HTTP 200 — success is `{code: 200}`, failures are
|
|
@@ -1297,16 +1301,40 @@ paths:
|
|
|
1297
1301
|
{code: 200}, or `missing_token` for an authorization-code OAuth connection that holds no
|
|
1298
1302
|
token yet. An OAuth connection requests a token only when the target answers 401, so a
|
|
1299
1303
|
ping of an endpoint that needs no authentication passes without testing the OAuth setup.
|
|
1304
|
+
- |-
|
|
1305
|
+
A failed ping has a side effect: the platform marks the connection offline, and the jobs
|
|
1306
|
+
of the flows that use it wait `queued` until a test passes. The platform re-tests offline
|
|
1307
|
+
connections on its own (about once an hour, and after six failed attempts leaves the
|
|
1308
|
+
connection offline until someone fixes it); an online connection is tested when a client
|
|
1309
|
+
asks for it (this endpoint, the UI's Test connection, a save). A monitor that polls this
|
|
1310
|
+
endpoint on an online connection therefore turns every slow or refused answer into an
|
|
1311
|
+
outage — read the `offline` field from `GET /v1/connections/{_id}` instead, which has no
|
|
1312
|
+
side effect.
|
|
1313
|
+
- |-
|
|
1314
|
+
When the application does not answer within the platform's own limit on the test
|
|
1315
|
+
(observed at about six minutes), the platform records the test as failed with
|
|
1316
|
+
`{code: "unexpected_error:request_aborted", source: "internal"}` — the error the offline
|
|
1317
|
+
notification carries — and marks the connection offline all the same. The error names
|
|
1318
|
+
the platform's limit, not a credential problem; re-authorizing does not address it.
|
|
1319
|
+
- |-
|
|
1320
|
+
A NetSuite `token-auto` connection that holds no token — created with the account id
|
|
1321
|
+
only, or between a Revoke and a completed Authorize — saves `offline: true` and answers
|
|
1322
|
+
this ping with `netsuite_wsdl_tba_mandatory` (`source: connection`); completing the
|
|
1323
|
+
authorization supplies the token.
|
|
1300
1324
|
post:
|
|
1301
1325
|
x-internal: false
|
|
1302
1326
|
summary: Ping an existing connection
|
|
1303
1327
|
description: |-
|
|
1304
1328
|
Runs the adaptor's ping routine against a saved connection to verify its credentials and
|
|
1305
|
-
network configuration still work; no data is read
|
|
1329
|
+
network configuration still work; no application data is read or written. It is the same
|
|
1330
|
+
test as the UI's Test connection, and the platform writes the connection's `offline` flag
|
|
1331
|
+
from its outcome: a failing ping sets `offline: true` (the connection's flows wait queued
|
|
1332
|
+
and the offline notification is sent), a passing one sets `offline: false`. The check is
|
|
1306
1333
|
adaptor-specific (HTTP sends the `http.ping` request, RDBMS/JDBC open a driver session,
|
|
1307
1334
|
MCP issues a tools/list, NetSuite/Salesforce do a token or session validation). An `http`
|
|
1308
|
-
connection with no `http.ping` passes with `{code: 200}` without sending any request
|
|
1309
|
-
the ping proves nothing about it until a ping is
|
|
1335
|
+
connection with no `http.ping` passes with `{code: 200}` without sending any request — no
|
|
1336
|
+
test ran, so `offline` is left unchanged — and the ping proves nothing about it until a ping is
|
|
1337
|
+
configured; one that authorizes with an
|
|
1310
1338
|
authorization code and holds no token yet answers `missing_token` instead. An OAuth
|
|
1311
1339
|
connection requests a token only when the target answers 401, so a ping of an endpoint
|
|
1312
1340
|
that needs no authentication passes without testing the OAuth setup. The request body
|
|
@@ -1387,6 +1415,13 @@ paths:
|
|
|
1387
1415
|
- code: missing_token
|
|
1388
1416
|
message: connection is not authorized completely, please authorize the connection once again.
|
|
1389
1417
|
source: connection
|
|
1418
|
+
netsuite_wsdl_tba_mandatory:
|
|
1419
|
+
summary: NetSuite token connection holds no token to present
|
|
1420
|
+
value:
|
|
1421
|
+
errors:
|
|
1422
|
+
- code: netsuite_wsdl_tba_mandatory
|
|
1423
|
+
message: The WSDL version being used requires Token Based Authentication(TBA). Please use TBA or choose a different WSDL version.
|
|
1424
|
+
source: connection
|
|
1390
1425
|
mcp_tools_list_failed:
|
|
1391
1426
|
summary: MCP server handshake failed
|
|
1392
1427
|
value:
|
|
@@ -1412,8 +1447,9 @@ paths:
|
|
|
1412
1447
|
message: unable to find connection for the given id.
|
|
1413
1448
|
x-celigo-ai-guidance:
|
|
1414
1449
|
- |-
|
|
1415
|
-
Tests the connectivity and authentication of a connection
|
|
1416
|
-
|
|
1450
|
+
Tests the connectivity and authentication of a connection; no application data is read or
|
|
1451
|
+
written, and a failed test sets the connection's `offline` flag. This endpoint verifies that
|
|
1452
|
+
the connection credentials are valid and the target system is reachable.
|
|
1417
1453
|
|
|
1418
1454
|
The ping operation will:
|
|
1419
1455
|
- Validate authentication credentials
|
|
@@ -1426,6 +1462,26 @@ paths:
|
|
|
1426
1462
|
token yet), so it proves nothing until a ping is configured — one that needs the
|
|
1427
1463
|
connection's credentials, since an OAuth connection requests a token only when the target
|
|
1428
1464
|
answers 401.
|
|
1465
|
+
- |-
|
|
1466
|
+
A failed ping has a side effect: the platform marks the connection offline, and the jobs
|
|
1467
|
+
of the flows that use it wait `queued` until a test passes. The platform re-tests offline
|
|
1468
|
+
connections on its own (about once an hour, and after six failed attempts leaves the
|
|
1469
|
+
connection offline until someone fixes it); an online connection is tested when a client
|
|
1470
|
+
asks for it (this endpoint, the UI's Test connection, a save). A monitor that polls this
|
|
1471
|
+
endpoint on an online connection therefore turns every slow or refused answer into an
|
|
1472
|
+
outage — read the `offline` field from `GET /v1/connections/{_id}` instead, which has no
|
|
1473
|
+
side effect.
|
|
1474
|
+
- |-
|
|
1475
|
+
When the application does not answer within the platform's own limit on the test
|
|
1476
|
+
(observed at about six minutes), the platform records the test as failed with
|
|
1477
|
+
`{code: "unexpected_error:request_aborted", source: "internal"}` — the error the offline
|
|
1478
|
+
notification carries — and marks the connection offline all the same. The error names
|
|
1479
|
+
the platform's limit, not a credential problem; re-authorizing does not address it.
|
|
1480
|
+
- |-
|
|
1481
|
+
A NetSuite `token-auto` connection that holds no token — created with the account id
|
|
1482
|
+
only, or between a Revoke and a completed Authorize — saves `offline: true` and answers
|
|
1483
|
+
this ping with `netsuite_wsdl_tba_mandatory` (`source: connection`); completing the
|
|
1484
|
+
authorization supplies the token.
|
|
1429
1485
|
/v1/connections/{_id}/proxy:
|
|
1430
1486
|
post:
|
|
1431
1487
|
x-internal: false
|
|
@@ -4379,10 +4435,15 @@ components:
|
|
|
4379
4435
|
description: |-
|
|
4380
4436
|
When true, the connection has been taken offline: a flow run requested while its
|
|
4381
4437
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
4382
|
-
itself once the connection is back online.
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4438
|
+
itself once the connection is back online. Every connection test writes the flag from
|
|
4439
|
+
its outcome — the test a create or `PUT` runs, the UI's Test connection and
|
|
4440
|
+
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
4441
|
+
clears it (a ping of an `http` connection with no `http.ping` runs no test and leaves
|
|
4442
|
+
it unchanged); the platform re-tests an offline connection on its own (about once an hour,
|
|
4443
|
+
and after six failed attempts leaves it offline until someone fixes it) and tests an
|
|
4444
|
+
online one when a client asks. After a write the result arrives in the response or, when the
|
|
4445
|
+
target is slow to answer, shortly afterwards (the audit log records a `system` change;
|
|
4446
|
+
`lastModified` doesn't move), so read it again a few seconds after the write. On an `http` connection
|
|
4386
4447
|
the write runs the test only when `http.ping` is configured, and an `http` connection
|
|
4387
4448
|
that was never tested has no `offline` key. A run also takes an `http` connection
|
|
4388
4449
|
offline when a request gets its authentication-failure status (see
|
package/dist/enduser.yml
CHANGED
|
@@ -2393,10 +2393,15 @@ components:
|
|
|
2393
2393
|
description: |-
|
|
2394
2394
|
When true, the connection has been taken offline: a flow run requested while its
|
|
2395
2395
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
2396
|
-
itself once the connection is back online.
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2396
|
+
itself once the connection is back online. Every connection test writes the flag from
|
|
2397
|
+
its outcome — the test a create or `PUT` runs, the UI's Test connection and
|
|
2398
|
+
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
2399
|
+
clears it (a ping of an `http` connection with no `http.ping` runs no test and leaves
|
|
2400
|
+
it unchanged); the platform re-tests an offline connection on its own (about once an hour,
|
|
2401
|
+
and after six failed attempts leaves it offline until someone fixes it) and tests an
|
|
2402
|
+
online one when a client asks. After a write the result arrives in the response or, when the
|
|
2403
|
+
target is slow to answer, shortly afterwards (the audit log records a `system` change;
|
|
2404
|
+
`lastModified` doesn't move), so read it again a few seconds after the write. On an `http` connection
|
|
2400
2405
|
the write runs the test only when `http.ping` is configured, and an `http` connection
|
|
2401
2406
|
that was never tested has no `offline` key. A run also takes an `http` connection
|
|
2402
2407
|
offline when a request gets its authentication-failure status (see
|
package/dist/mcp-server.yml
CHANGED
|
@@ -5531,10 +5531,15 @@ components:
|
|
|
5531
5531
|
description: |-
|
|
5532
5532
|
When true, the connection has been taken offline: a flow run requested while its
|
|
5533
5533
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
5534
|
-
itself once the connection is back online.
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5534
|
+
itself once the connection is back online. Every connection test writes the flag from
|
|
5535
|
+
its outcome — the test a create or `PUT` runs, the UI's Test connection and
|
|
5536
|
+
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
5537
|
+
clears it (a ping of an `http` connection with no `http.ping` runs no test and leaves
|
|
5538
|
+
it unchanged); the platform re-tests an offline connection on its own (about once an hour,
|
|
5539
|
+
and after six failed attempts leaves it offline until someone fixes it) and tests an
|
|
5540
|
+
online one when a client asks. After a write the result arrives in the response or, when the
|
|
5541
|
+
target is slow to answer, shortly afterwards (the audit log records a `system` change;
|
|
5542
|
+
`lastModified` doesn't move), so read it again a few seconds after the write. On an `http` connection
|
|
5538
5543
|
the write runs the test only when `http.ping` is configured, and an `http` connection
|
|
5539
5544
|
that was never tested has no `offline` key. A run also takes an `http` connection
|
|
5540
5545
|
offline when a request gets its authentication-failure status (see
|
package/dist/tool.yml
CHANGED
|
@@ -7875,10 +7875,15 @@ components:
|
|
|
7875
7875
|
description: |-
|
|
7876
7876
|
When true, the connection has been taken offline: a flow run requested while its
|
|
7877
7877
|
export's connection is offline is accepted, but its job waits `queued` and starts by
|
|
7878
|
-
itself once the connection is back online.
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7878
|
+
itself once the connection is back online. Every connection test writes the flag from
|
|
7879
|
+
its outcome — the test a create or `PUT` runs, the UI's Test connection and
|
|
7880
|
+
`GET`/`POST /v1/connections/{_id}/ping` alike: a failed test sets it, a passing test
|
|
7881
|
+
clears it (a ping of an `http` connection with no `http.ping` runs no test and leaves
|
|
7882
|
+
it unchanged); the platform re-tests an offline connection on its own (about once an hour,
|
|
7883
|
+
and after six failed attempts leaves it offline until someone fixes it) and tests an
|
|
7884
|
+
online one when a client asks. After a write the result arrives in the response or, when the
|
|
7885
|
+
target is slow to answer, shortly afterwards (the audit log records a `system` change;
|
|
7886
|
+
`lastModified` doesn't move), so read it again a few seconds after the write. On an `http` connection
|
|
7882
7887
|
the write runs the test only when `http.ping` is configured, and an `http` connection
|
|
7883
7888
|
that was never tested has no `offline` key. A run also takes an `http` connection
|
|
7884
7889
|
offline when a request gets its authentication-failure status (see
|
package/package.json
CHANGED