@celigo/api-specs 0.2.264 → 0.2.266
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/alert.yml +1 -15
- package/dist/api.yml +12 -8
- package/dist/apim.yml +20 -2
- package/dist/connection.yml +1 -1
- package/dist/connector.yml +44 -7
- package/dist/enduser.yml +1 -1
- package/dist/eventreport.yml +10 -2
- package/dist/import.yml +178 -52
- package/dist/integration.yml +68 -0
- package/dist/lookupcache.yml +95 -23
- package/dist/mcp-server.yml +11 -3
- package/dist/subscription.yml +18 -0
- package/dist/template.yml +28 -13
- package/dist/tool.yml +57 -6
- package/dist/tradingpartnerconnector.yml +36 -21
- package/package.json +1 -1
- package/schemas.json +63 -62
package/dist/integration.yml
CHANGED
|
@@ -638,6 +638,22 @@ paths:
|
|
|
638
638
|
lastModified: '2026-06-10T02:57:51.483Z'
|
|
639
639
|
'204':
|
|
640
640
|
description: No revisions exist for this integration.
|
|
641
|
+
'400':
|
|
642
|
+
description: |-
|
|
643
|
+
The integration belongs to another environment of the account than the one the token
|
|
644
|
+
acts in. `GET /v1/integrations/{_id}` answers 404 for the same id; an id that exists in no
|
|
645
|
+
environment answers 404 here too.
|
|
646
|
+
content:
|
|
647
|
+
application/json:
|
|
648
|
+
schema:
|
|
649
|
+
$ref: '#/components/schemas/Error'
|
|
650
|
+
examples:
|
|
651
|
+
other_environment:
|
|
652
|
+
summary: Integration from another environment
|
|
653
|
+
value:
|
|
654
|
+
errors:
|
|
655
|
+
- code: invalid_environment_for_integration
|
|
656
|
+
message: The integration does not belong to the current environment. Please validate the environment and try again
|
|
641
657
|
'401':
|
|
642
658
|
$ref: '#/components/responses/401-unauthorized'
|
|
643
659
|
'404':
|
|
@@ -697,6 +713,21 @@ paths:
|
|
|
697
713
|
installSteps: []
|
|
698
714
|
createdAt: '2026-06-10T02:57:51.483Z'
|
|
699
715
|
lastModified: '2026-06-10T02:57:51.483Z'
|
|
716
|
+
'400':
|
|
717
|
+
description: |-
|
|
718
|
+
The integration belongs to another environment of the account than the one the token
|
|
719
|
+
acts in. The environment is checked before the revision is looked up.
|
|
720
|
+
content:
|
|
721
|
+
application/json:
|
|
722
|
+
schema:
|
|
723
|
+
$ref: '#/components/schemas/Error'
|
|
724
|
+
examples:
|
|
725
|
+
other_environment:
|
|
726
|
+
summary: Integration from another environment
|
|
727
|
+
value:
|
|
728
|
+
errors:
|
|
729
|
+
- code: invalid_environment_for_integration
|
|
730
|
+
message: The integration does not belong to the current environment. Please validate the environment and try again
|
|
700
731
|
'401':
|
|
701
732
|
$ref: '#/components/responses/401-unauthorized'
|
|
702
733
|
'404':
|
|
@@ -713,6 +744,10 @@ paths:
|
|
|
713
744
|
history. The returned revision has `type: snapshot` and `status: completed` immediately --
|
|
714
745
|
snapshots are synchronous and do not require an apply step. This is the only revision type
|
|
715
746
|
that can be created via the public API; `pull` and `revert` revisions require the Celigo UI.
|
|
747
|
+
|
|
748
|
+
A standalone copy made with `POST /v1/integrations/{_id}/clone` can't be snapshotted: it isn't
|
|
749
|
+
lifecycle-linked to its source, so the request fails with 422 `lifecycleerror`. Snapshot the
|
|
750
|
+
source integration instead.
|
|
716
751
|
parameters:
|
|
717
752
|
- name: _id
|
|
718
753
|
in: path
|
|
@@ -764,6 +799,19 @@ paths:
|
|
|
764
799
|
$ref: '#/components/responses/401-unauthorized'
|
|
765
800
|
'404':
|
|
766
801
|
$ref: '#/components/responses/404-not-found'
|
|
802
|
+
'422':
|
|
803
|
+
description: The integration is a standalone copy made by `POST /v1/integrations/{_id}/clone`.
|
|
804
|
+
content:
|
|
805
|
+
application/json:
|
|
806
|
+
schema:
|
|
807
|
+
$ref: '#/components/schemas/Error'
|
|
808
|
+
examples:
|
|
809
|
+
standalone_clone:
|
|
810
|
+
summary: Snapshot of an integration made by the clone endpoint
|
|
811
|
+
value:
|
|
812
|
+
errors:
|
|
813
|
+
- code: lifecycleerror
|
|
814
|
+
message: clone must be linked to source integration before revisions can be comitted.
|
|
767
815
|
/v1/integrations/{_id}/revisions/{_revisionId}/diff:
|
|
768
816
|
get:
|
|
769
817
|
x-internal: false
|
|
@@ -828,6 +876,10 @@ paths:
|
|
|
828
876
|
`failed` revisions (read their cause from
|
|
829
877
|
`GET /v1/integrations/{_id}/revisions/{_revisionId}/errors` instead), and
|
|
830
878
|
`inprogress` revisions whose install steps haven't materialized yet.
|
|
879
|
+
|
|
880
|
+
Error code `invalid_environment_for_integration` means the integration belongs to another
|
|
881
|
+
environment of the account than the one the token acts in. That check runs before the
|
|
882
|
+
revision is looked up.
|
|
831
883
|
content:
|
|
832
884
|
application/json:
|
|
833
885
|
schema:
|
|
@@ -838,6 +890,12 @@ paths:
|
|
|
838
890
|
errors:
|
|
839
891
|
- message: Failed to perform operation. Revision is in an invalid state
|
|
840
892
|
code: invalid_revision_state
|
|
893
|
+
other_environment:
|
|
894
|
+
summary: Integration from another environment
|
|
895
|
+
value:
|
|
896
|
+
errors:
|
|
897
|
+
- code: invalid_environment_for_integration
|
|
898
|
+
message: The integration does not belong to the current environment. Please validate the environment and try again
|
|
841
899
|
'401':
|
|
842
900
|
$ref: '#/components/responses/401-unauthorized'
|
|
843
901
|
'404':
|
|
@@ -901,6 +959,10 @@ paths:
|
|
|
901
959
|
Revision is not in `failed` state, so it has no error records. Error code
|
|
902
960
|
`invalid_revision_state` — returned for `completed`, `canceled`, and `inprogress` revisions
|
|
903
961
|
of every type, including snapshots.
|
|
962
|
+
|
|
963
|
+
Error code `invalid_environment_for_integration` means the integration belongs to another
|
|
964
|
+
environment of the account than the one the token acts in. That check runs before the
|
|
965
|
+
revision is looked up.
|
|
904
966
|
content:
|
|
905
967
|
application/json:
|
|
906
968
|
schema:
|
|
@@ -911,6 +973,12 @@ paths:
|
|
|
911
973
|
errors:
|
|
912
974
|
- message: Failed to perform operation. Revision is in an invalid state
|
|
913
975
|
code: invalid_revision_state
|
|
976
|
+
other_environment:
|
|
977
|
+
summary: Integration from another environment
|
|
978
|
+
value:
|
|
979
|
+
errors:
|
|
980
|
+
- code: invalid_environment_for_integration
|
|
981
|
+
message: The integration does not belong to the current environment. Please validate the environment and try again
|
|
914
982
|
'401':
|
|
915
983
|
$ref: '#/components/responses/401-unauthorized'
|
|
916
984
|
'404':
|
package/dist/lookupcache.yml
CHANGED
|
@@ -456,10 +456,10 @@ paths:
|
|
|
456
456
|
`400 cache_dynamodb_invalid_key`, and a key that appears twice in the batch
|
|
457
457
|
returns 400 "Duplicate keys found in the request".
|
|
458
458
|
|
|
459
|
-
One request takes at most 1000 entries
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
the per-key results.
|
|
459
|
+
One request takes at most 1000 entries (more returns `400 max_upsert_by_keys_limit_exceeded`),
|
|
460
|
+
each entry at most 64 KB (`400 row_size_exceeded`), and at most 5 MB of JSON in all (413,
|
|
461
|
+
"request entity too large!"). Callers uploading more than that should split their payload;
|
|
462
|
+
the Celigo CLI auto-batches at 1000 entries / 5 MB and concatenates the per-key results.
|
|
463
463
|
Each cache is capped at 50 MB and the per-environment aggregate is 1 GB.
|
|
464
464
|
parameters:
|
|
465
465
|
- name: _id
|
|
@@ -508,7 +508,54 @@ paths:
|
|
|
508
508
|
- key: TX
|
|
509
509
|
success: true
|
|
510
510
|
'400':
|
|
511
|
-
|
|
511
|
+
description: |-
|
|
512
|
+
An entry or the batch is invalid, and nothing in it is written: `invalid_value`,
|
|
513
|
+
`cache_dynamodb_invalid_key`, a duplicate key, more than 1000 entries
|
|
514
|
+
(`max_upsert_by_keys_limit_exceeded`), or an entry over 64 KB (`row_size_exceeded`).
|
|
515
|
+
content:
|
|
516
|
+
application/json:
|
|
517
|
+
schema:
|
|
518
|
+
type: object
|
|
519
|
+
required:
|
|
520
|
+
- errors
|
|
521
|
+
properties:
|
|
522
|
+
success:
|
|
523
|
+
type: boolean
|
|
524
|
+
description: '`false` when the batch was refused.'
|
|
525
|
+
errors:
|
|
526
|
+
type: array
|
|
527
|
+
description: Why the batch was refused.
|
|
528
|
+
items:
|
|
529
|
+
type: object
|
|
530
|
+
required:
|
|
531
|
+
- message
|
|
532
|
+
properties:
|
|
533
|
+
code:
|
|
534
|
+
type: string
|
|
535
|
+
description: Machine-readable error code.
|
|
536
|
+
message:
|
|
537
|
+
type: string
|
|
538
|
+
description: What was wrong with the batch.
|
|
539
|
+
source:
|
|
540
|
+
type: string
|
|
541
|
+
description: Layer that refused the batch; `internal` for the size limits.
|
|
542
|
+
examples:
|
|
543
|
+
too_many_entries:
|
|
544
|
+
summary: More than 1000 entries in one request
|
|
545
|
+
value:
|
|
546
|
+
success: false
|
|
547
|
+
errors:
|
|
548
|
+
- code: max_upsert_by_keys_limit_exceeded
|
|
549
|
+
message: The number of rows to upsert exceeds the limit of 1000. Reduce the number of rows and try again.
|
|
550
|
+
source: internal
|
|
551
|
+
entry_too_large:
|
|
552
|
+
summary: An entry over 64 KB
|
|
553
|
+
value:
|
|
554
|
+
success: false
|
|
555
|
+
errors:
|
|
556
|
+
- code: row_size_exceeded
|
|
557
|
+
message: The row in the lookup cache API request exceeds the 64 KB limit. Reduce the row size.
|
|
558
|
+
source: internal
|
|
512
559
|
'401':
|
|
513
560
|
$ref: '#/components/responses/401-unauthorized'
|
|
514
561
|
'404':
|
|
@@ -596,17 +643,22 @@ paths:
|
|
|
596
643
|
query — explicit keys or a prefix — can travel in the request body.
|
|
597
644
|
|
|
598
645
|
Body variants:
|
|
599
|
-
- omitted or `{}` →
|
|
646
|
+
- omitted or `{}` → all entries, up to 1000 per page (unordered).
|
|
600
647
|
- `{keys: [...]}` → one entry per requested key. Hits carry `value`; misses
|
|
601
648
|
carry `error: {message}` — missing keys are **reported**, not silently
|
|
602
649
|
omitted. Branch on `error` vs `value` when consuming the response.
|
|
603
|
-
- `{startsWith: "prefix"}` →
|
|
604
|
-
(case-sensitive).
|
|
650
|
+
- `{startsWith: "prefix"}` → entries whose key begins with `prefix`
|
|
651
|
+
(case-sensitive), up to 1000 per page.
|
|
605
652
|
|
|
606
653
|
`keys` and `startsWith` are treated as mutually exclusive client-side; if both
|
|
607
654
|
are supplied the server honors `keys` and ignores `startsWith`. Keys are
|
|
608
|
-
case-sensitive.
|
|
609
|
-
|
|
655
|
+
case-sensitive.
|
|
656
|
+
|
|
657
|
+
Unfiltered and `startsWith` reads are paged. While more entries remain, the
|
|
658
|
+
response carries `nextPageURL`; POST to it with the same body to read the next
|
|
659
|
+
page, and stop at the first response without one. The URL keeps only the read
|
|
660
|
+
position (`startAfterKey`, `shardId`), not the prefix, so a `startsWith` read
|
|
661
|
+
posted there without its body comes back unfiltered.
|
|
610
662
|
parameters:
|
|
611
663
|
- name: _id
|
|
612
664
|
in: path
|
|
@@ -658,6 +710,16 @@ paths:
|
|
|
658
710
|
- key: ZZ
|
|
659
711
|
error:
|
|
660
712
|
message: The requested key does not match any entry in the lookup cache. Check the key.
|
|
713
|
+
paged:
|
|
714
|
+
summary: A page of an unfiltered read with more entries to follow (truncated)
|
|
715
|
+
value:
|
|
716
|
+
success: true
|
|
717
|
+
data:
|
|
718
|
+
- key: SKU-2748
|
|
719
|
+
value: '8959'
|
|
720
|
+
- key: SKU-2749
|
|
721
|
+
value: '8960'
|
|
722
|
+
nextPageURL: /v1/lookupcaches/69c2eb25365fb658aa39c642/getData?startAfterKey=SKU-2749&shardId=2
|
|
661
723
|
'400':
|
|
662
724
|
$ref: '#/components/responses/400-bad-request'
|
|
663
725
|
'401':
|
|
@@ -1091,13 +1153,15 @@ components:
|
|
|
1091
1153
|
Request body for upserting key-value entries into a lookup cache. `data` must be
|
|
1092
1154
|
a non-empty array. Keys already present are overwritten; new keys are created.
|
|
1093
1155
|
|
|
1094
|
-
One request takes at most 1000 entries
|
|
1095
|
-
|
|
1096
|
-
|
|
1156
|
+
One request takes at most 1000 entries (400 `max_upsert_by_keys_limit_exceeded`), each
|
|
1157
|
+
entry at most 64 KB (400 `row_size_exceeded`), and at most 5 MB of JSON in all (413) —
|
|
1158
|
+
callers inserting more than that should split into multiple requests (the Celigo CLI
|
|
1159
|
+
auto-batches at 1000 entries / 5 MB).
|
|
1097
1160
|
properties:
|
|
1098
1161
|
data:
|
|
1099
1162
|
type: array
|
|
1100
1163
|
minItems: 1
|
|
1164
|
+
maxItems: 1000
|
|
1101
1165
|
description: Entries to upsert. Must contain at least one item.
|
|
1102
1166
|
items:
|
|
1103
1167
|
$ref: '#/components/schemas/LookupCacheDataEntry'
|
|
@@ -1181,18 +1245,20 @@ components:
|
|
|
1181
1245
|
Request body for reading entries from a lookup cache.
|
|
1182
1246
|
|
|
1183
1247
|
All fields are optional. If omitted, the endpoint returns the first page of the
|
|
1184
|
-
cache (up to
|
|
1248
|
+
cache (up to 1000 entries, unordered). `keys` and `startsWith` should be
|
|
1185
1249
|
treated as mutually exclusive — if both are supplied the server honors `keys`
|
|
1186
1250
|
and ignores `startsWith`. An empty JSON body (`{}`) is equivalent to calling
|
|
1187
1251
|
the endpoint with no body.
|
|
1188
1252
|
properties:
|
|
1189
1253
|
keys:
|
|
1190
1254
|
type: array
|
|
1255
|
+
maxItems: 1000
|
|
1191
1256
|
description: |-
|
|
1192
1257
|
Explicit keys to fetch. The response returns one `data[]` entry per
|
|
1193
1258
|
requested key: hits carry `value`, misses carry `error: {message}` — both
|
|
1194
1259
|
surface in the same array. Branch on the presence of `error` vs `value`
|
|
1195
|
-
when consuming the response.
|
|
1260
|
+
when consuming the response. More than 1000 keys in one request returns 400
|
|
1261
|
+
`max_key_limit_exceeded`.
|
|
1196
1262
|
items:
|
|
1197
1263
|
type: string
|
|
1198
1264
|
examples:
|
|
@@ -1202,9 +1268,10 @@ components:
|
|
|
1202
1268
|
startsWith:
|
|
1203
1269
|
type: string
|
|
1204
1270
|
description: |-
|
|
1205
|
-
Key prefix filter. Returns
|
|
1206
|
-
string (case-sensitive). Useful for namespaced keys like
|
|
1207
|
-
`tenant-42/customer-…`.
|
|
1271
|
+
Key prefix filter. Returns the entries whose key begins with the supplied
|
|
1272
|
+
string (case-sensitive), up to 1000 per page. Useful for namespaced keys like
|
|
1273
|
+
`tenant-42/customer-…`. Send it again with every `nextPageURL` request: the
|
|
1274
|
+
URL doesn't carry it, and a page read without it is unfiltered.
|
|
1208
1275
|
examples:
|
|
1209
1276
|
- tenant-42/
|
|
1210
1277
|
LookupCacheDataMissingEntry:
|
|
@@ -1234,15 +1301,20 @@ components:
|
|
|
1234
1301
|
description: |-
|
|
1235
1302
|
Response from a successful lookup-cache read. Contains the matching entries.
|
|
1236
1303
|
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
large caches — callers that need to iterate a cache larger than the page limit
|
|
1240
|
-
should use `startsWith` to narrow the result set, or key their data with a known
|
|
1241
|
-
prefix scheme.
|
|
1304
|
+
Unfiltered and `startsWith` reads return up to 1000 entries per page and carry
|
|
1305
|
+
`nextPageURL` while more remain.
|
|
1242
1306
|
properties:
|
|
1243
1307
|
success:
|
|
1244
1308
|
type: boolean
|
|
1245
1309
|
description: When true, the read request completed successfully.
|
|
1310
|
+
nextPageURL:
|
|
1311
|
+
type: string
|
|
1312
|
+
description: |-
|
|
1313
|
+
Relative URL of the next page, present while an unfiltered or `startsWith` read has
|
|
1314
|
+
more entries; absent on the last page. POST to it with the same request body — it
|
|
1315
|
+
doesn't carry the `startsWith` prefix.
|
|
1316
|
+
examples:
|
|
1317
|
+
- /v1/lookupcaches/69c2eb25365fb658aa39c642/getData?startAfterKey=SKU-2749&shardId=2
|
|
1246
1318
|
data:
|
|
1247
1319
|
type: array
|
|
1248
1320
|
description: |-
|
package/dist/mcp-server.yml
CHANGED
|
@@ -4382,7 +4382,9 @@ components:
|
|
|
4382
4382
|
maxLength: 128
|
|
4383
4383
|
pattern: ^\/[a-zA-Z0-9_\-]+$
|
|
4384
4384
|
description: |-
|
|
4385
|
-
URI path segment for the MCP server endpoint
|
|
4385
|
+
URI path segment for the MCP server endpoint: MCP clients reach the server at
|
|
4386
|
+
`/mcp/{accountAlias}{relativeURI}` (`accountAlias` is an account setting), and with an
|
|
4387
|
+
API token it also answers at `/mcp{relativeURI}`. Must be unique per account —
|
|
4386
4388
|
duplicates are rejected with 422 `mcp_server_duplicate_relative_uri`. Only letters,
|
|
4387
4389
|
numbers, dashes, and underscores after the leading slash (the server's error message
|
|
4388
4390
|
also claims colons and dots are allowed, but they are rejected in practice). The
|
|
@@ -4416,7 +4418,13 @@ components:
|
|
|
4416
4418
|
type: boolean
|
|
4417
4419
|
default: true
|
|
4418
4420
|
description: |-
|
|
4419
|
-
When true, the server refuses MCP clients
|
|
4421
|
+
When true, the server refuses MCP clients: on the alias URL
|
|
4422
|
+
(`/mcp/{accountAlias}{relativeURI}`) a disabled or deleted server, one
|
|
4423
|
+
with nothing enabled, or an unknown alias answers HTTP 404
|
|
4424
|
+
`resource_not_found` with no `WWW-Authenticate` header, whatever
|
|
4425
|
+
credential is sent, while the direct `/mcp{relativeURI}` route still
|
|
4426
|
+
authenticates the call and then returns JSON-RPC error `1006` ("MCP
|
|
4427
|
+
Server not found for relativeURI: …"). New servers start disabled.
|
|
4420
4428
|
Enabling requires at least one enabled tool, API, resource, or prompt,
|
|
4421
4429
|
or one enabled and available upstream capability — otherwise the write
|
|
4422
4430
|
is rejected with 422 `mcp_server_enablement_requires_enabled_item`.
|
|
@@ -10330,7 +10338,7 @@ components:
|
|
|
10330
10338
|
databricks: Databricks SQL/Spark via JDBC.
|
|
10331
10339
|
oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
|
|
10332
10340
|
sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
|
|
10333
|
-
activedirectory:
|
|
10341
|
+
activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
|
|
10334
10342
|
db2: IBM DB2 database via JDBC.
|
|
10335
10343
|
workday: Workday via JDBC for report and data access.
|
|
10336
10344
|
description: |-
|
package/dist/subscription.yml
CHANGED
|
@@ -1712,6 +1712,12 @@ components:
|
|
|
1712
1712
|
type: integer
|
|
1713
1713
|
description: Data Ingestion (Celigo Sync) rows loaded during the month.
|
|
1714
1714
|
example: 0
|
|
1715
|
+
lookupCacheUnits:
|
|
1716
|
+
type: integer
|
|
1717
|
+
description: |-
|
|
1718
|
+
Lookup cache units consumed during the month. Present when the month recorded lookup
|
|
1719
|
+
cache usage; older months can omit it.
|
|
1720
|
+
example: 954
|
|
1715
1721
|
allocated:
|
|
1716
1722
|
type: object
|
|
1717
1723
|
description: Allocated/entitled numbers for the month.
|
|
@@ -1732,6 +1738,18 @@ components:
|
|
|
1732
1738
|
type: integer
|
|
1733
1739
|
description: API invocation allocation for the month.
|
|
1734
1740
|
example: 0
|
|
1741
|
+
diVolume:
|
|
1742
|
+
type: integer
|
|
1743
|
+
description: |-
|
|
1744
|
+
Data Ingestion (Celigo Sync) row allocation for the month. Present when the month
|
|
1745
|
+
recorded one; older months can omit it.
|
|
1746
|
+
example: 0
|
|
1747
|
+
lookupCacheUnits:
|
|
1748
|
+
type: integer
|
|
1749
|
+
description: |-
|
|
1750
|
+
Lookup cache unit allocation for the month. Present when the month recorded one;
|
|
1751
|
+
older months can omit it.
|
|
1752
|
+
example: 100000000
|
|
1735
1753
|
UsageRecord:
|
|
1736
1754
|
type: object
|
|
1737
1755
|
description: A monthly usage record returned by `GET /v1/usage`.
|
package/dist/template.yml
CHANGED
|
@@ -22,9 +22,9 @@ tags:
|
|
|
22
22
|
|
|
23
23
|
The template lifecycle is: create → upload zip (via `GET /v1/s3SignedURL`) → publish.
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
**Partner account** — non-partner callers receive 403
|
|
27
|
-
`access_restricted
|
|
25
|
+
Listing, reading, creating, updating, deleting, uploading and publishing
|
|
26
|
+
templates requires a **Partner account** — non-partner callers receive 403
|
|
27
|
+
`access_restricted`, the account owner included. Installing a template (`/v1/integrations/template`
|
|
28
28
|
routes) needs install permission instead: the account owner,
|
|
29
29
|
administrators and manage users have it, and monitor or
|
|
30
30
|
integration-level users only when their access allows creating
|
|
@@ -96,7 +96,7 @@ paths:
|
|
|
96
96
|
'401':
|
|
97
97
|
$ref: '#/components/responses/401-unauthorized'
|
|
98
98
|
'403':
|
|
99
|
-
$ref: '#/components/responses/403-
|
|
99
|
+
$ref: '#/components/responses/403-partner-only'
|
|
100
100
|
post:
|
|
101
101
|
x-internal: false
|
|
102
102
|
operationId: createTemplate
|
|
@@ -148,7 +148,7 @@ paths:
|
|
|
148
148
|
'401':
|
|
149
149
|
$ref: '#/components/responses/401-unauthorized'
|
|
150
150
|
'403':
|
|
151
|
-
$ref: '#/components/responses/403-
|
|
151
|
+
$ref: '#/components/responses/403-partner-only'
|
|
152
152
|
'422':
|
|
153
153
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
154
154
|
/v1/templates/{_id}:
|
|
@@ -205,7 +205,7 @@ paths:
|
|
|
205
205
|
'401':
|
|
206
206
|
$ref: '#/components/responses/401-unauthorized'
|
|
207
207
|
'403':
|
|
208
|
-
$ref: '#/components/responses/403-
|
|
208
|
+
$ref: '#/components/responses/403-partner-only'
|
|
209
209
|
'404':
|
|
210
210
|
$ref: '#/components/responses/404-not-found'
|
|
211
211
|
put:
|
|
@@ -314,7 +314,7 @@ paths:
|
|
|
314
314
|
'401':
|
|
315
315
|
$ref: '#/components/responses/401-unauthorized'
|
|
316
316
|
'403':
|
|
317
|
-
$ref: '#/components/responses/403-
|
|
317
|
+
$ref: '#/components/responses/403-partner-only'
|
|
318
318
|
'404':
|
|
319
319
|
$ref: '#/components/responses/404-not-found'
|
|
320
320
|
/v1/integrations/template/{_id}:
|
|
@@ -1084,19 +1084,21 @@ components:
|
|
|
1084
1084
|
summary: Bearer token invalid or revoked
|
|
1085
1085
|
value:
|
|
1086
1086
|
message: Bearer Authentication Failed
|
|
1087
|
-
403-
|
|
1088
|
-
description:
|
|
1089
|
-
|
|
1087
|
+
403-partner-only:
|
|
1088
|
+
description: |-
|
|
1089
|
+
The account isn't a Celigo Partner account. Every caller on such an account is refused with
|
|
1090
|
+
`access_restricted`, the account owner's full-access API token included.
|
|
1090
1091
|
content:
|
|
1091
1092
|
application/json:
|
|
1092
1093
|
schema:
|
|
1093
1094
|
$ref: '#/components/schemas/Error'
|
|
1094
1095
|
examples:
|
|
1095
|
-
|
|
1096
|
+
notPartner:
|
|
1097
|
+
summary: Account that isn't a Partner account
|
|
1096
1098
|
value:
|
|
1097
1099
|
errors:
|
|
1098
|
-
- code:
|
|
1099
|
-
message: You
|
|
1100
|
+
- code: access_restricted
|
|
1101
|
+
message: You don't have the required permission to perform the request. Please contact Celigo support.
|
|
1100
1102
|
422-unprocessable-entity:
|
|
1101
1103
|
description: |
|
|
1102
1104
|
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
|
|
@@ -1136,6 +1138,19 @@ components:
|
|
|
1136
1138
|
errors:
|
|
1137
1139
|
- code: invalid_request
|
|
1138
1140
|
message: The request body failed validation.
|
|
1141
|
+
403-forbidden:
|
|
1142
|
+
description: |
|
|
1143
|
+
Forbidden. The authenticated caller does not have permission to perform this operation.
|
|
1144
|
+
content:
|
|
1145
|
+
application/json:
|
|
1146
|
+
schema:
|
|
1147
|
+
$ref: '#/components/schemas/Error'
|
|
1148
|
+
examples:
|
|
1149
|
+
default:
|
|
1150
|
+
value:
|
|
1151
|
+
errors:
|
|
1152
|
+
- code: forbidden
|
|
1153
|
+
message: You do not have permission to access this resource.
|
|
1139
1154
|
403-cannot-install:
|
|
1140
1155
|
description: |-
|
|
1141
1156
|
The caller may not install templates. The account owner, administrators and manage users
|
package/dist/tool.yml
CHANGED
|
@@ -12700,7 +12700,7 @@ components:
|
|
|
12700
12700
|
databricks: Databricks SQL/Spark via JDBC.
|
|
12701
12701
|
oracle:thin: Oracle Database via the Oracle Thin JDBC driver.
|
|
12702
12702
|
sqlserver: Microsoft SQL Server via the JTDS or Microsoft JDBC driver.
|
|
12703
|
-
activedirectory:
|
|
12703
|
+
activedirectory: Microsoft Active Directory over LDAP (default port 389) through an on-premise agent, read with SQL against the directory tables the driver exposes; LDAPVersion and BaseDN go in properties.
|
|
12704
12704
|
db2: IBM DB2 database via JDBC.
|
|
12705
12705
|
workday: Workday via JDBC for report and data access.
|
|
12706
12706
|
description: |-
|
|
@@ -15753,7 +15753,7 @@ components:
|
|
|
15753
15753
|
| ["per_record"] | query (array of SQL strings) | bulkInsert |
|
|
15754
15754
|
| ["per_page"] | query (array of SQL strings) | bulkInsert |
|
|
15755
15755
|
| ["bulk_insert"] | bulkInsert object | query |
|
|
15756
|
-
| ["bulk_load"] | bulkLoad object
|
|
15756
|
+
| ["bulk_load"] | bulkLoad object; query too when bulkLoad.overrideMergeOrInsertQuery is true | query otherwise |
|
|
15757
15757
|
|
|
15758
15758
|
**Critical:** query IS AN ARRAY OF STRINGS
|
|
15759
15759
|
The query field must be an array of plain strings, NOT a single string and NOT an array of objects.
|
|
@@ -15770,7 +15770,9 @@ components:
|
|
|
15770
15770
|
x-celigo-agent:
|
|
15771
15771
|
- sql
|
|
15772
15772
|
description: |-
|
|
15773
|
-
Array of SQL query strings to execute. REQUIRED when queryType is ["per_record"] or ["per_page"]
|
|
15773
|
+
Array of SQL query strings to execute. REQUIRED when queryType is ["per_record"] or ["per_page"],
|
|
15774
|
+
and on a ["bulk_load"] import whose bulkLoad.overrideMergeOrInsertQuery is true, where its one
|
|
15775
|
+
statement replaces the generated MERGE / INSERT.
|
|
15774
15776
|
|
|
15775
15777
|
Each element is a complete SQL statement as a plain string. Typically contains a single query.
|
|
15776
15778
|
|
|
@@ -15821,7 +15823,7 @@ components:
|
|
|
15821
15823
|
| ["per_record"] | query (array) | bulkInsert |
|
|
15822
15824
|
| ["per_page"] | query (array) | bulkInsert |
|
|
15823
15825
|
| ["bulk_insert"] | bulkInsert object | query |
|
|
15824
|
-
| ["bulk_load"] | bulkLoad object
|
|
15826
|
+
| ["bulk_load"] | bulkLoad object; query too when bulkLoad.overrideMergeOrInsertQuery is true | query otherwise |
|
|
15825
15827
|
|
|
15826
15828
|
**Examples**
|
|
15827
15829
|
- Per-record upsert: ["per_record"]
|
|
@@ -15877,8 +15879,36 @@ components:
|
|
|
15877
15879
|
overrideMergeOrInsertQuery:
|
|
15878
15880
|
type: boolean
|
|
15879
15881
|
description: |-
|
|
15880
|
-
When true,
|
|
15881
|
-
bulk load, enabling ignore-existing logic or conditional updates.
|
|
15882
|
+
When true, the statement in `query` replaces the auto-generated MERGE / INSERT for the
|
|
15883
|
+
bulk load, enabling ignore-existing logic or conditional updates. Saving it true with no
|
|
15884
|
+
`query` entry fails with 422 `missing_required_field` ("jdbc bulk_load imports require a
|
|
15885
|
+
query."), on create and on update.
|
|
15886
|
+
aggregation:
|
|
15887
|
+
type: object
|
|
15888
|
+
description: |-
|
|
15889
|
+
How the staged files are cut and handed to the database. The server fills `type` and
|
|
15890
|
+
`maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to
|
|
15891
|
+
author. A `type` other than `size`, or a `loadDataAsAvailable` that is not a boolean,
|
|
15892
|
+
drops the whole block on save without an error.
|
|
15893
|
+
properties:
|
|
15894
|
+
type:
|
|
15895
|
+
type: string
|
|
15896
|
+
enum:
|
|
15897
|
+
- size
|
|
15898
|
+
x-enumDescriptions:
|
|
15899
|
+
size: Files are cut by size
|
|
15900
|
+
description: Filled by the server on save; the only mode is size-based cutting.
|
|
15901
|
+
maxFileSizeInMB:
|
|
15902
|
+
type: integer
|
|
15903
|
+
description: Size of each staged file in MB; the server fills 250 when the field is omitted, so leave it out.
|
|
15904
|
+
examples:
|
|
15905
|
+
- 250
|
|
15906
|
+
loadDataAsAvailable:
|
|
15907
|
+
type: boolean
|
|
15908
|
+
description: |-
|
|
15909
|
+
When true, each staged file is sent for loading as soon as it is written, so the
|
|
15910
|
+
dataset arrives as several smaller loads. When false, every file is held until all
|
|
15911
|
+
are ready and they are loaded together.
|
|
15882
15912
|
lookups:
|
|
15883
15913
|
type: array
|
|
15884
15914
|
items:
|
|
@@ -15957,6 +15987,27 @@ components:
|
|
|
15957
15987
|
save.
|
|
15958
15988
|
x-celigo-agent:
|
|
15959
15989
|
- lookup
|
|
15990
|
+
if:
|
|
15991
|
+
required:
|
|
15992
|
+
- queryType
|
|
15993
|
+
- bulkLoad
|
|
15994
|
+
properties:
|
|
15995
|
+
queryType:
|
|
15996
|
+
type: array
|
|
15997
|
+
contains:
|
|
15998
|
+
const: bulk_load
|
|
15999
|
+
bulkLoad:
|
|
16000
|
+
required:
|
|
16001
|
+
- overrideMergeOrInsertQuery
|
|
16002
|
+
properties:
|
|
16003
|
+
overrideMergeOrInsertQuery:
|
|
16004
|
+
const: true
|
|
16005
|
+
then:
|
|
16006
|
+
required:
|
|
16007
|
+
- query
|
|
16008
|
+
properties:
|
|
16009
|
+
query:
|
|
16010
|
+
minItems: 1
|
|
15960
16011
|
Mongodb:
|
|
15961
16012
|
type: object
|
|
15962
16013
|
description: Configuration for MongoDB imports. Contains only the MongoDB-specific properties; import-level fields such as ignoreExisting, ignoreMissing, name, and description are set on the parent import, not here.
|