@celigo/api-specs 0.2.268 → 0.2.269
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/audit.yml +6 -3
- package/dist/connection.yml +22 -5
- package/dist/enduser.yml +68 -4
- package/dist/integration.yml +82 -11
- package/dist/networkpolicy.yml +1 -1
- package/dist/stack.yml +33 -5
- package/dist/topic.yml +3 -2
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/audit.yml
CHANGED
|
@@ -1378,7 +1378,10 @@ components:
|
|
|
1378
1378
|
schemas:
|
|
1379
1379
|
FieldChange:
|
|
1380
1380
|
type: object
|
|
1381
|
-
description:
|
|
1381
|
+
description: |-
|
|
1382
|
+
A single field-level change within an audit entry. A value of about 10 KB or more is left
|
|
1383
|
+
out, so `oldValue` or `newValue` can be absent even on an `update`; the entry still carries
|
|
1384
|
+
the `fieldPath`.
|
|
1382
1385
|
properties:
|
|
1383
1386
|
fieldPath:
|
|
1384
1387
|
type: string
|
|
@@ -1389,9 +1392,9 @@ components:
|
|
|
1389
1392
|
examples:
|
|
1390
1393
|
- http.auth.token.token
|
|
1391
1394
|
oldValue:
|
|
1392
|
-
description: Previous value (may be any JSON type).
|
|
1395
|
+
description: Previous value (may be any JSON type). Omitted when the value is about 10 KB or larger.
|
|
1393
1396
|
newValue:
|
|
1394
|
-
description: New value (may be any JSON type).
|
|
1397
|
+
description: New value (may be any JSON type). Omitted when the value is about 10 KB or larger.
|
|
1395
1398
|
DeletedInfo:
|
|
1396
1399
|
type: object
|
|
1397
1400
|
description: Extra context recorded for delete events (when available).
|
package/dist/connection.yml
CHANGED
|
@@ -10296,6 +10296,9 @@ components:
|
|
|
10296
10296
|
with 422 `enum` — and uses it to resolve the HTTP connector link on every save (see
|
|
10297
10297
|
`http._httpConnectorId`), so send it only when the application really is a legacy
|
|
10298
10298
|
adaptor: on an Azure Data Lake Storage Gen2 connection it drops the connector ids.
|
|
10299
|
+
`celigofilestorage` (Celigo File storage) is such a slug: the save links the connector
|
|
10300
|
+
`GET /v1/httpconnectors` lists with that `legacyId`, and the connection must carry
|
|
10301
|
+
`accessScope` (see below).
|
|
10299
10302
|
examples:
|
|
10300
10303
|
- shopify
|
|
10301
10304
|
x-celigo-ai-guidance:
|
|
@@ -10312,11 +10315,15 @@ components:
|
|
|
10312
10315
|
accessScope:
|
|
10313
10316
|
type: object
|
|
10314
10317
|
description: |-
|
|
10315
|
-
What a Celigo APIs connection (`assistant: integratorceligoapi`)
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
the stored scope
|
|
10318
|
+
What a Celigo APIs connection (`assistant: integratorceligoapi`) or a Celigo File
|
|
10319
|
+
storage connection (`assistant: celigofilestorage`) may reach in the account: the
|
|
10320
|
+
account's custom APIs, listeners, standard integrator.io APIs and Celigo Storage
|
|
10321
|
+
folders. Neither connection can be created without it — the rule keys on the body
|
|
10322
|
+
`assistant` — and an update that omits it leaves the stored scope unchanged. A File
|
|
10323
|
+
storage connection's `custom` scope takes Celigo Storage folders only: a non-empty
|
|
10324
|
+
`_apiIds` or `_exportIds` on it fails with 422 `invalid_access_scope` ("<field> is not
|
|
10325
|
+
supported on access scopes for this connector."). The connection document never
|
|
10326
|
+
carries it — the stored scope is read from `GET /v1/accessScope/connections/{_id}`.
|
|
10320
10327
|
required:
|
|
10321
10328
|
- type
|
|
10322
10329
|
properties:
|
|
@@ -10430,6 +10437,16 @@ components:
|
|
|
10430
10437
|
The connection document never carries `accessScope`; read the stored scope from
|
|
10431
10438
|
`GET /v1/accessScope/connections/{_id}` (`scope`, `apis`, `exports`, `integrations`,
|
|
10432
10439
|
`fileStoragePaths`) rather than inferring it from the document.
|
|
10440
|
+
- |-
|
|
10441
|
+
A Celigo File storage connection (`type: http`, `assistant: celigofilestorage`) POST
|
|
10442
|
+
without `accessScope` fails with 422 `missing_required_field` ("Scope is required for
|
|
10443
|
+
this connection. Please select Full access or Custom."): send `{type: full}` or
|
|
10444
|
+
`{type: custom, _fileStoragePaths: [...]}`. A non-empty `_apiIds` or `_exportIds` on
|
|
10445
|
+
it fails, on POST and PUT, with 422 `invalid_access_scope` ("_apiIds is not supported
|
|
10446
|
+
on access scopes for this connector."). The save fills `http._httpConnectorId` and
|
|
10447
|
+
`http._httpConnectorVersionId` from the connector whose `legacyId` is
|
|
10448
|
+
`celigofilestorage` in `GET /v1/httpconnectors` — look the id up there rather than
|
|
10449
|
+
hardcoding one.
|
|
10433
10450
|
_agentId:
|
|
10434
10451
|
type: string
|
|
10435
10452
|
format: objectId
|
package/dist/enduser.yml
CHANGED
|
@@ -1081,7 +1081,25 @@ paths:
|
|
|
1081
1081
|
createdAt: '2026-07-01T09:15:32Z'
|
|
1082
1082
|
lastModified: '2026-07-01T09:15:32Z'
|
|
1083
1083
|
'400':
|
|
1084
|
-
|
|
1084
|
+
description: |-
|
|
1085
|
+
A grant fails validation: its `resourceType` is not `mcpServer`, or its
|
|
1086
|
+
`_resourceId` is not an MCP server in the account. Error code:
|
|
1087
|
+
`validation_failed`.
|
|
1088
|
+
content:
|
|
1089
|
+
application/json:
|
|
1090
|
+
schema:
|
|
1091
|
+
$ref: '#/components/schemas/Error'
|
|
1092
|
+
examples:
|
|
1093
|
+
unknown_resource_type:
|
|
1094
|
+
value:
|
|
1095
|
+
errors:
|
|
1096
|
+
- code: validation_failed
|
|
1097
|
+
message: 'Validation failed. Invalid resourceType: mcpserver. Supported resourceTypes: mcpServer.'
|
|
1098
|
+
server_not_found:
|
|
1099
|
+
value:
|
|
1100
|
+
errors:
|
|
1101
|
+
- code: validation_failed
|
|
1102
|
+
message: Validation failed. MCP server 000000000000000000000000 was not found in this account.
|
|
1085
1103
|
'401':
|
|
1086
1104
|
$ref: '#/components/responses/401-unauthorized'
|
|
1087
1105
|
'403':
|
|
@@ -1093,7 +1111,21 @@ paths:
|
|
|
1093
1111
|
schema:
|
|
1094
1112
|
$ref: '#/components/schemas/Error'
|
|
1095
1113
|
'422':
|
|
1096
|
-
|
|
1114
|
+
description: |-
|
|
1115
|
+
The body carries a field other than `name`, `description`, or
|
|
1116
|
+
`resourceGrants`; read-only fields such as `_id`, `createdAt`, and
|
|
1117
|
+
`lastModified` are ignored rather than refused.
|
|
1118
|
+
content:
|
|
1119
|
+
application/json:
|
|
1120
|
+
schema:
|
|
1121
|
+
$ref: '#/components/schemas/Error'
|
|
1122
|
+
examples:
|
|
1123
|
+
unknown_field:
|
|
1124
|
+
value:
|
|
1125
|
+
errors:
|
|
1126
|
+
- code: invalid_field
|
|
1127
|
+
field: permissions
|
|
1128
|
+
message: 'Unknown field permissions is not allowed on a role. Supported fields: name, description, resourceGrants.'
|
|
1097
1129
|
/v1/roles/{_id}:
|
|
1098
1130
|
get:
|
|
1099
1131
|
x-internal: false
|
|
@@ -1170,7 +1202,25 @@ paths:
|
|
|
1170
1202
|
schema:
|
|
1171
1203
|
$ref: '#/components/schemas/Role'
|
|
1172
1204
|
'400':
|
|
1173
|
-
|
|
1205
|
+
description: |-
|
|
1206
|
+
A grant fails validation: its `resourceType` is not `mcpServer`, or its
|
|
1207
|
+
`_resourceId` is not an MCP server in the account. Error code:
|
|
1208
|
+
`validation_failed`.
|
|
1209
|
+
content:
|
|
1210
|
+
application/json:
|
|
1211
|
+
schema:
|
|
1212
|
+
$ref: '#/components/schemas/Error'
|
|
1213
|
+
examples:
|
|
1214
|
+
unknown_resource_type:
|
|
1215
|
+
value:
|
|
1216
|
+
errors:
|
|
1217
|
+
- code: validation_failed
|
|
1218
|
+
message: 'Validation failed. Invalid resourceType: mcpserver. Supported resourceTypes: mcpServer.'
|
|
1219
|
+
server_not_found:
|
|
1220
|
+
value:
|
|
1221
|
+
errors:
|
|
1222
|
+
- code: validation_failed
|
|
1223
|
+
message: Validation failed. MCP server 000000000000000000000000 was not found in this account.
|
|
1174
1224
|
'401':
|
|
1175
1225
|
$ref: '#/components/responses/401-unauthorized'
|
|
1176
1226
|
'403':
|
|
@@ -1184,7 +1234,21 @@ paths:
|
|
|
1184
1234
|
schema:
|
|
1185
1235
|
$ref: '#/components/schemas/Error'
|
|
1186
1236
|
'422':
|
|
1187
|
-
|
|
1237
|
+
description: |-
|
|
1238
|
+
The body carries a field other than `name`, `description`, or
|
|
1239
|
+
`resourceGrants`; read-only fields such as `_id`, `createdAt`, and
|
|
1240
|
+
`lastModified` are ignored rather than refused.
|
|
1241
|
+
content:
|
|
1242
|
+
application/json:
|
|
1243
|
+
schema:
|
|
1244
|
+
$ref: '#/components/schemas/Error'
|
|
1245
|
+
examples:
|
|
1246
|
+
unknown_field:
|
|
1247
|
+
value:
|
|
1248
|
+
errors:
|
|
1249
|
+
- code: invalid_field
|
|
1250
|
+
field: permissions
|
|
1251
|
+
message: 'Unknown field permissions is not allowed on a role. Supported fields: name, description, resourceGrants.'
|
|
1188
1252
|
delete:
|
|
1189
1253
|
x-internal: false
|
|
1190
1254
|
summary: Delete a role
|
package/dist/integration.yml
CHANGED
|
@@ -1670,14 +1670,20 @@ paths:
|
|
|
1670
1670
|
- 626168f90b6ef816b50c82d7
|
|
1671
1671
|
responses:
|
|
1672
1672
|
'204':
|
|
1673
|
-
description:
|
|
1673
|
+
description: |-
|
|
1674
|
+
Connection unregistered successfully. No body returned. Deleting a registered
|
|
1675
|
+
connection (`DELETE /v1/connections/{_id}`) already removes it from
|
|
1676
|
+
`_registeredConnectionIds`, so this call is not needed afterwards — on a deleted
|
|
1677
|
+
connection it returns 404.
|
|
1674
1678
|
'400':
|
|
1675
1679
|
description: |-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1680
|
+
The connection is not registered on this integration ("The connection which you are
|
|
1681
|
+
trying to deregister is not registered on the integration."), or a resource in the
|
|
1682
|
+
integration still uses it -- a flow, Tool, or API step bound to it ("The connection
|
|
1683
|
+
is being actively used by the integration..."), or an alias on the integration or
|
|
1684
|
+
one of its flows that points at it ("This connection is being referenced by an
|
|
1685
|
+
alias. Delete the alias before deregistering the connection."). Error code:
|
|
1686
|
+
`not_allowed` for all three.
|
|
1681
1687
|
content:
|
|
1682
1688
|
application/json:
|
|
1683
1689
|
schema:
|
|
@@ -1693,10 +1699,33 @@ paths:
|
|
|
1693
1699
|
errors:
|
|
1694
1700
|
- code: not_allowed
|
|
1695
1701
|
message: This connection is being referenced by an alias. Delete the alias before deregistering the connection.
|
|
1702
|
+
not_registered:
|
|
1703
|
+
value:
|
|
1704
|
+
errors:
|
|
1705
|
+
- code: not_allowed
|
|
1706
|
+
message: The connection which you are trying to deregister is not registered on the integration.
|
|
1696
1707
|
'401':
|
|
1697
1708
|
$ref: '#/components/responses/401-unauthorized'
|
|
1698
1709
|
'404':
|
|
1699
|
-
|
|
1710
|
+
description: |-
|
|
1711
|
+
The integration does not exist (`invalid_ref`), or no connection with this id exists
|
|
1712
|
+
in the account — including one already deleted, which its deletion unregistered
|
|
1713
|
+
(`not_found`).
|
|
1714
|
+
content:
|
|
1715
|
+
application/json:
|
|
1716
|
+
schema:
|
|
1717
|
+
$ref: '#/components/schemas/Error'
|
|
1718
|
+
examples:
|
|
1719
|
+
connection_not_found:
|
|
1720
|
+
value:
|
|
1721
|
+
errors:
|
|
1722
|
+
- code: not_found
|
|
1723
|
+
message: 'The connections with following _id''s: 626168f90b6ef816b50c82d7 don''t exist.'
|
|
1724
|
+
integration_not_found:
|
|
1725
|
+
value:
|
|
1726
|
+
errors:
|
|
1727
|
+
- code: invalid_ref
|
|
1728
|
+
message: Integration not found.
|
|
1700
1729
|
/v1/integrations/{_id}/connections/register:
|
|
1701
1730
|
put:
|
|
1702
1731
|
x-internal: false
|
|
@@ -1974,7 +2003,11 @@ paths:
|
|
|
1974
2003
|
- 68680d7111d1437fbcbce534
|
|
1975
2004
|
responses:
|
|
1976
2005
|
'204':
|
|
1977
|
-
description:
|
|
2006
|
+
description: |-
|
|
2007
|
+
Lookup cache unregistered successfully. No body returned. Deleting a registered
|
|
2008
|
+
cache (`DELETE /v1/lookupcaches/{_id}`, once its alias is removed) already removes
|
|
2009
|
+
it from `_registeredLookupCacheIds`, so this call is not needed afterwards — on a
|
|
2010
|
+
deleted cache it returns 404.
|
|
1978
2011
|
'400':
|
|
1979
2012
|
description: |-
|
|
1980
2013
|
The cache is not registered on this integration ("The lookup cache
|
|
@@ -2003,7 +2036,25 @@ paths:
|
|
|
2003
2036
|
'401':
|
|
2004
2037
|
$ref: '#/components/responses/401-unauthorized'
|
|
2005
2038
|
'404':
|
|
2006
|
-
|
|
2039
|
+
description: |-
|
|
2040
|
+
The integration does not exist (`invalid_ref`), or no lookup cache with this id exists
|
|
2041
|
+
in the account — including one already deleted, which its deletion unregistered
|
|
2042
|
+
(`not_found`).
|
|
2043
|
+
content:
|
|
2044
|
+
application/json:
|
|
2045
|
+
schema:
|
|
2046
|
+
$ref: '#/components/schemas/Error'
|
|
2047
|
+
examples:
|
|
2048
|
+
lookup_cache_not_found:
|
|
2049
|
+
value:
|
|
2050
|
+
errors:
|
|
2051
|
+
- code: not_found
|
|
2052
|
+
message: 'The lookupcaches with following _id''s: 68680d7111d1437fbcbce534 don''t exist.'
|
|
2053
|
+
integration_not_found:
|
|
2054
|
+
value:
|
|
2055
|
+
errors:
|
|
2056
|
+
- code: invalid_ref
|
|
2057
|
+
message: Integration not found.
|
|
2007
2058
|
/v1/integrations/{_id}/lookupcaches/register:
|
|
2008
2059
|
put:
|
|
2009
2060
|
x-internal: false
|
|
@@ -2307,7 +2358,10 @@ paths:
|
|
|
2307
2358
|
- 6aab2870265e1cf39fcbee4d
|
|
2308
2359
|
responses:
|
|
2309
2360
|
'204':
|
|
2310
|
-
description:
|
|
2361
|
+
description: |-
|
|
2362
|
+
Topic unregistered successfully. No body returned. Deleting a registered topic
|
|
2363
|
+
(`DELETE /v1/topics/{_id}`) already removes it from `_registeredTopicIds`, so this
|
|
2364
|
+
call is not needed afterwards — on a deleted topic it returns 404.
|
|
2311
2365
|
'400':
|
|
2312
2366
|
description: |-
|
|
2313
2367
|
The topic is not registered on this integration ("The topic which you are trying to
|
|
@@ -2332,7 +2386,24 @@ paths:
|
|
|
2332
2386
|
'401':
|
|
2333
2387
|
$ref: '#/components/responses/401-unauthorized'
|
|
2334
2388
|
'404':
|
|
2335
|
-
|
|
2389
|
+
description: |-
|
|
2390
|
+
The integration does not exist (`invalid_ref`), or no topic with this id exists in the
|
|
2391
|
+
account — including one already deleted, which its deletion unregistered (`not_found`).
|
|
2392
|
+
content:
|
|
2393
|
+
application/json:
|
|
2394
|
+
schema:
|
|
2395
|
+
$ref: '#/components/schemas/Error'
|
|
2396
|
+
examples:
|
|
2397
|
+
topic_not_found:
|
|
2398
|
+
value:
|
|
2399
|
+
errors:
|
|
2400
|
+
- code: not_found
|
|
2401
|
+
message: 'The topics with following _id''s: 6aab2870265e1cf39fcbee4d don''t exist.'
|
|
2402
|
+
integration_not_found:
|
|
2403
|
+
value:
|
|
2404
|
+
errors:
|
|
2405
|
+
- code: invalid_ref
|
|
2406
|
+
message: Integration not found.
|
|
2336
2407
|
/v1/integrations/{_id}/topics/register:
|
|
2337
2408
|
put:
|
|
2338
2409
|
x-internal: false
|
package/dist/networkpolicy.yml
CHANGED
|
@@ -1207,7 +1207,7 @@ components:
|
|
|
1207
1207
|
value:
|
|
1208
1208
|
errors:
|
|
1209
1209
|
- code: conflict
|
|
1210
|
-
message: A network policy with this name already exists in the
|
|
1210
|
+
message: A network policy with this name already exists in the environment.
|
|
1211
1211
|
404-not-found:
|
|
1212
1212
|
description: |
|
|
1213
1213
|
Not found. The requested resource does not exist or is not visible to the caller.
|
package/dist/stack.yml
CHANGED
|
@@ -357,17 +357,30 @@ paths:
|
|
|
357
357
|
$ref: '#/components/responses/401-unauthorized'
|
|
358
358
|
'404':
|
|
359
359
|
description: |-
|
|
360
|
-
|
|
361
|
-
|
|
360
|
+
No stack with this id exists in the account. The message still reads
|
|
361
|
+
"Stack of type server not found."; a stack that exists but is not a
|
|
362
|
+
server stack answers 422 instead.
|
|
362
363
|
content:
|
|
363
364
|
application/json:
|
|
364
365
|
schema:
|
|
365
366
|
$ref: '#/components/schemas/Error'
|
|
366
367
|
examples:
|
|
367
|
-
|
|
368
|
+
not_found:
|
|
368
369
|
value:
|
|
369
370
|
errors:
|
|
370
371
|
- message: Stack of type server not found.
|
|
372
|
+
'422':
|
|
373
|
+
description: The stack exists but is not a server stack. Error code `not_supported`.
|
|
374
|
+
content:
|
|
375
|
+
application/json:
|
|
376
|
+
schema:
|
|
377
|
+
$ref: '#/components/schemas/Error'
|
|
378
|
+
examples:
|
|
379
|
+
not_server_stack:
|
|
380
|
+
value:
|
|
381
|
+
errors:
|
|
382
|
+
- code: not_supported
|
|
383
|
+
message: System tokens are supported only for stacks of type server.
|
|
371
384
|
x-celigo-ai-guidance:
|
|
372
385
|
- |-
|
|
373
386
|
Returns the **actual** `systemToken` for a server stack.
|
|
@@ -397,16 +410,31 @@ paths:
|
|
|
397
410
|
'401':
|
|
398
411
|
$ref: '#/components/responses/401-unauthorized'
|
|
399
412
|
'404':
|
|
400
|
-
description:
|
|
413
|
+
description: |-
|
|
414
|
+
No stack with this id exists in the account. The message still reads
|
|
415
|
+
"Stack of type server not found."; a stack that exists but is not a
|
|
416
|
+
server stack answers 422 instead.
|
|
401
417
|
content:
|
|
402
418
|
application/json:
|
|
403
419
|
schema:
|
|
404
420
|
$ref: '#/components/schemas/Error'
|
|
405
421
|
examples:
|
|
406
|
-
|
|
422
|
+
not_found:
|
|
407
423
|
value:
|
|
408
424
|
errors:
|
|
409
425
|
- message: Stack of type server not found.
|
|
426
|
+
'422':
|
|
427
|
+
description: The stack exists but is not a server stack. Error code `not_supported`.
|
|
428
|
+
content:
|
|
429
|
+
application/json:
|
|
430
|
+
schema:
|
|
431
|
+
$ref: '#/components/schemas/Error'
|
|
432
|
+
examples:
|
|
433
|
+
not_server_stack:
|
|
434
|
+
value:
|
|
435
|
+
errors:
|
|
436
|
+
- code: not_supported
|
|
437
|
+
message: System tokens are supported only for stacks of type server.
|
|
410
438
|
x-celigo-ai-guidance:
|
|
411
439
|
- |-
|
|
412
440
|
Rotates (recycles) the server stack's system token.
|
package/dist/topic.yml
CHANGED
|
@@ -55,6 +55,7 @@ paths:
|
|
|
55
55
|
schema:
|
|
56
56
|
type: integer
|
|
57
57
|
minimum: 1
|
|
58
|
+
maximum: 1000
|
|
58
59
|
examples:
|
|
59
60
|
- 100
|
|
60
61
|
- name: sort_by
|
|
@@ -135,7 +136,7 @@ paths:
|
|
|
135
136
|
'401':
|
|
136
137
|
$ref: '#/components/responses/401-unauthorized'
|
|
137
138
|
'422':
|
|
138
|
-
description: '`limit` is not a positive integer. Error code: `invalid_query_param`.'
|
|
139
|
+
description: '`limit` is not a positive integer or is greater than 1000. Error code: `invalid_query_param`.'
|
|
139
140
|
content:
|
|
140
141
|
application/json:
|
|
141
142
|
schema:
|
|
@@ -145,7 +146,7 @@ paths:
|
|
|
145
146
|
value:
|
|
146
147
|
errors:
|
|
147
148
|
- code: invalid_query_param
|
|
148
|
-
message: Invalid limit sent in request.
|
|
149
|
+
message: Invalid limit sent in request. limit must be a positive integer no greater than 1000.
|
|
149
150
|
post:
|
|
150
151
|
x-internal: false
|
|
151
152
|
summary: Create a topic
|
package/package.json
CHANGED