@celigo/api-specs 0.2.265 → 0.2.267
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/ai-agent.yml +8 -8
- package/dist/alert.yml +1 -15
- package/dist/api.yml +59 -15
- package/dist/apim.yml +20 -2
- package/dist/connection.yml +129 -14
- package/dist/connector.yml +44 -7
- package/dist/eventreport.yml +22 -3
- package/dist/flow.yml +12 -1
- package/dist/import.yml +65 -9
- package/dist/job.yml +35 -4
- package/dist/lookupcache.yml +60 -9
- package/dist/notification.yml +19 -2
- package/dist/subscription.yml +18 -0
- package/dist/sync.yml +216 -36
- package/dist/template.yml +28 -13
- package/dist/tool.yml +65 -9
- package/dist/tradingpartnerconnector.yml +36 -21
- package/package.json +1 -1
- package/schemas.json +63 -62
package/dist/ai-agent.yml
CHANGED
|
@@ -675,7 +675,7 @@ paths:
|
|
|
675
675
|
data: Latest stable Python 3 release: 3.15.0 — source: python.org.
|
|
676
676
|
|
|
677
677
|
event: usage
|
|
678
|
-
data: {"content": {"model": "gpt-5-mini", "input_tokens": 9218, "output_tokens": 737, "total_tokens": 9955, "token_only_ai_credits": 0.004345275, "
|
|
678
|
+
data: {"content": {"model": "gpt-5-mini", "input_tokens": 9218, "output_tokens": 737, "total_tokens": 9955, "token_only_ai_credits": 0.004345275, "total_cost": 0.015845275, "web_search_details": {"billed_search_actions": 1, "tool_call_ai_credits": 0.0115}, "tool_call_buckets": [{"category": "native_tool", "total_count": 1, "tools": [{"name": "web_search", "count": 1}]}]}}
|
|
679
679
|
|
|
680
680
|
event: complete
|
|
681
681
|
data: {"success": true}
|
|
@@ -6823,7 +6823,7 @@ components:
|
|
|
6823
6823
|
- gpt-4.1-mini-2025-04-14
|
|
6824
6824
|
total_cost:
|
|
6825
6825
|
type: number
|
|
6826
|
-
description:
|
|
6826
|
+
description: Price of the call in AI credits, tool charges included.
|
|
6827
6827
|
examples:
|
|
6828
6828
|
- 0.00042
|
|
6829
6829
|
image_generation_details:
|
|
@@ -6847,6 +6847,11 @@ components:
|
|
|
6847
6847
|
description: Number of web search actions billed for the request.
|
|
6848
6848
|
examples:
|
|
6849
6849
|
- 1
|
|
6850
|
+
tool_call_ai_credits:
|
|
6851
|
+
type: number
|
|
6852
|
+
description: AI credits charged for the searches.
|
|
6853
|
+
examples:
|
|
6854
|
+
- 0.0115
|
|
6850
6855
|
model:
|
|
6851
6856
|
type: string
|
|
6852
6857
|
description: Model used for the web search calls.
|
|
@@ -6867,16 +6872,11 @@ components:
|
|
|
6867
6872
|
- object
|
|
6868
6873
|
- 'null'
|
|
6869
6874
|
description: MCP tool usage details, if applicable.
|
|
6870
|
-
token_only_raw_cost:
|
|
6871
|
-
type: number
|
|
6872
|
-
description: Token-only cost before platform markup.
|
|
6873
|
-
examples:
|
|
6874
|
-
- 0.00031
|
|
6875
6875
|
token_only_ai_credits:
|
|
6876
6876
|
type: number
|
|
6877
6877
|
description: AI credits consumed by token usage.
|
|
6878
6878
|
examples:
|
|
6879
|
-
- 0.
|
|
6879
|
+
- 0.000351325
|
|
6880
6880
|
timing:
|
|
6881
6881
|
type: object
|
|
6882
6882
|
description: Execution timing.
|
package/dist/alert.yml
CHANGED
|
@@ -2,21 +2,7 @@ openapi: 3.2.0
|
|
|
2
2
|
info:
|
|
3
3
|
version: 1.0.0
|
|
4
4
|
title: Alerts
|
|
5
|
-
description:
|
|
6
|
-
API for managing proactive alerts — account-configured rules that notify
|
|
7
|
-
recipients when flows exceed a long-runtime threshold.
|
|
8
|
-
|
|
9
|
-
Recipients are supplied as `_recipientEmails` on write; the API resolves
|
|
10
|
-
emails to users (creating invites or granting integration access when
|
|
11
|
-
needed) and persists `_recipientUserIds`. Soft-deleted alerts are excluded
|
|
12
|
-
from list and get responses.
|
|
13
|
-
|
|
14
|
-
The Alerts page UI list uses `GET /api/bff/alerts` (grouped by type); that
|
|
15
|
-
route is UI-only and is not part of this public `/v1` contract.
|
|
16
|
-
|
|
17
|
-
## Alert schema
|
|
18
|
-
|
|
19
|
-
{% openapi-schemas spec="alert" schemas="Alert" grouped="true" %}
|
|
5
|
+
description: Manage long-runtime alerts — rules that notify recipients when a flow runs longer than its threshold.
|
|
20
6
|
servers:
|
|
21
7
|
- url: https://api.integrator.io
|
|
22
8
|
description: Production (US / default region)
|
package/dist/api.yml
CHANGED
|
@@ -241,8 +241,8 @@ paths:
|
|
|
241
241
|
|
|
242
242
|
`ioInvocationCount` bills against the Celigo subscription; `apimInvocationCount` is billed
|
|
243
243
|
separately for external APIM passthrough. To find the resource behind a row, read
|
|
244
|
-
`metadata._resourceId` (present
|
|
245
|
-
`relativeURI`.
|
|
244
|
+
`metadata._resourceId` (present on every row except virtual exports and imports) or parse
|
|
245
|
+
the resource id out of `relativeURI`.
|
|
246
246
|
parameters:
|
|
247
247
|
- $ref: '#/components/parameters/Include'
|
|
248
248
|
- $ref: '#/components/parameters/Exclude'
|
|
@@ -912,7 +912,7 @@ paths:
|
|
|
912
912
|
request and response of a single call.
|
|
913
913
|
|
|
914
914
|
Run history exists only for builder-mode APIs — a script-mode API id returns
|
|
915
|
-
|
|
915
|
+
422 `invalid_api_type`; an unknown id returns 404.
|
|
916
916
|
|
|
917
917
|
Results are cursor-paginated (`next`/`prev`). When `time_gte` / `time_lte`
|
|
918
918
|
are omitted, only the last 5 minutes are returned — pass an explicit window
|
|
@@ -1085,6 +1085,8 @@ paths:
|
|
|
1085
1085
|
$ref: '#/components/responses/403-forbidden'
|
|
1086
1086
|
'404':
|
|
1087
1087
|
$ref: '#/components/responses/404-not-found'
|
|
1088
|
+
'422':
|
|
1089
|
+
$ref: '#/components/responses/422-builder-only'
|
|
1088
1090
|
delete:
|
|
1089
1091
|
x-internal: false
|
|
1090
1092
|
operationId: deleteApiRequestLogs
|
|
@@ -1095,7 +1097,7 @@ paths:
|
|
|
1095
1097
|
Queues asynchronous deletion of stored request log payloads for the API
|
|
1096
1098
|
within `[startedAt, endAt]`. Returns `202 Accepted`; cleanup runs in the
|
|
1097
1099
|
background. Requires manage access for log deletion — monitor-level users
|
|
1098
|
-
receive `403`.
|
|
1100
|
+
receive `403`. A script-mode API returns 422 `invalid_api_type` and queues nothing.
|
|
1099
1101
|
parameters:
|
|
1100
1102
|
- name: _id
|
|
1101
1103
|
in: path
|
|
@@ -1136,6 +1138,8 @@ paths:
|
|
|
1136
1138
|
$ref: '#/components/responses/403-forbidden'
|
|
1137
1139
|
'404':
|
|
1138
1140
|
$ref: '#/components/responses/404-not-found'
|
|
1141
|
+
'422':
|
|
1142
|
+
$ref: '#/components/responses/422-builder-only'
|
|
1139
1143
|
/v1/apis/{_id}/requests/{executionId}:
|
|
1140
1144
|
get:
|
|
1141
1145
|
x-internal: false
|
|
@@ -1153,8 +1157,8 @@ paths:
|
|
|
1153
1157
|
fetched separately with the log-data query endpoint.
|
|
1154
1158
|
|
|
1155
1159
|
An unknown `executionId` returns `200` with an empty `steps` array; a
|
|
1156
|
-
malformed one returns `422` (`invalid_execution_id`). An unknown
|
|
1157
|
-
script-mode API `
|
|
1160
|
+
malformed one returns `422` (`invalid_execution_id`). An unknown API `_id`
|
|
1161
|
+
returns `404`; a script-mode API returns `422` (`invalid_api_type`).
|
|
1158
1162
|
parameters:
|
|
1159
1163
|
- name: _id
|
|
1160
1164
|
in: path
|
|
@@ -1216,7 +1220,7 @@ paths:
|
|
|
1216
1220
|
'404':
|
|
1217
1221
|
$ref: '#/components/responses/404-not-found'
|
|
1218
1222
|
'422':
|
|
1219
|
-
$ref: '#/components/responses/422-
|
|
1223
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1220
1224
|
/v1/apis/{_id}/requests/{executionId}/{_expOrImpId}/logs/{parentRecordId}/children:
|
|
1221
1225
|
get:
|
|
1222
1226
|
x-internal: false
|
|
@@ -1351,7 +1355,7 @@ paths:
|
|
|
1351
1355
|
'404':
|
|
1352
1356
|
$ref: '#/components/responses/404-not-found'
|
|
1353
1357
|
'422':
|
|
1354
|
-
$ref: '#/components/responses/422-
|
|
1358
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1355
1359
|
/v1/apis/{_id}/requests/{executionId}/logs/data/query:
|
|
1356
1360
|
post:
|
|
1357
1361
|
x-internal: false
|
|
@@ -1427,7 +1431,7 @@ paths:
|
|
|
1427
1431
|
'404':
|
|
1428
1432
|
$ref: '#/components/responses/404-not-found'
|
|
1429
1433
|
'422':
|
|
1430
|
-
$ref: '#/components/responses/422-
|
|
1434
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1431
1435
|
/v1/apis/{_id}/requests/{executionId}/logs/signedURL:
|
|
1432
1436
|
get:
|
|
1433
1437
|
x-internal: false
|
|
@@ -1492,7 +1496,7 @@ paths:
|
|
|
1492
1496
|
'404':
|
|
1493
1497
|
$ref: '#/components/responses/404-not-found'
|
|
1494
1498
|
'422':
|
|
1495
|
-
$ref: '#/components/responses/422-
|
|
1499
|
+
$ref: '#/components/responses/422-execution-log'
|
|
1496
1500
|
/v1/apis/{_id}/dependencies:
|
|
1497
1501
|
get:
|
|
1498
1502
|
x-internal: false
|
|
@@ -7396,8 +7400,9 @@ components:
|
|
|
7396
7400
|
type: string
|
|
7397
7401
|
format: objectId
|
|
7398
7402
|
description: |-
|
|
7399
|
-
Id of the
|
|
7400
|
-
|
|
7403
|
+
Id of the export, import, API Builder API, or script-mode API behind the row. Omitted
|
|
7404
|
+
for virtual exports and imports, which have no saved resource; `relativeURI` names
|
|
7405
|
+
their connection.
|
|
7401
7406
|
examples:
|
|
7402
7407
|
- 6878f4a43bc01652c09cdccc
|
|
7403
7408
|
name:
|
|
@@ -7410,18 +7415,21 @@ components:
|
|
|
7410
7415
|
enum:
|
|
7411
7416
|
- export
|
|
7412
7417
|
- import
|
|
7418
|
+
- virtualExport
|
|
7413
7419
|
- virtualImport
|
|
7414
7420
|
- script
|
|
7415
7421
|
- apiBuilder
|
|
7416
7422
|
x-enumDescriptions:
|
|
7417
7423
|
export: A standard export resource invoked as an API endpoint.
|
|
7418
7424
|
import: A standard import resource invoked as an API endpoint.
|
|
7419
|
-
|
|
7425
|
+
virtualExport: An unsaved export run against a connection (`POST /v1/connections/{_connectionId}/export`).
|
|
7426
|
+
virtualImport: An unsaved import run against a connection (`POST /v1/connections/{_connectionId}/import`).
|
|
7420
7427
|
script: A script-mode API driven by custom JavaScript.
|
|
7421
7428
|
apiBuilder: A builder-mode API configured visually with request/response mappings.
|
|
7422
7429
|
description: |-
|
|
7423
|
-
Resource flavor. `virtualImport`
|
|
7424
|
-
`script` is a script-mode API. `apiBuilder` is a builder-mode
|
|
7430
|
+
Resource flavor. `virtualExport` and `virtualImport` are unsaved exports and imports
|
|
7431
|
+
run against a connection. `script` is a script-mode API. `apiBuilder` is a builder-mode
|
|
7432
|
+
API.
|
|
7425
7433
|
month:
|
|
7426
7434
|
type: integer
|
|
7427
7435
|
minimum: 1
|
|
@@ -14303,5 +14311,41 @@ components:
|
|
|
14303
14311
|
errors:
|
|
14304
14312
|
- code: forbidden
|
|
14305
14313
|
message: You do not have permission to access this resource.
|
|
14314
|
+
422-builder-only:
|
|
14315
|
+
description: |-
|
|
14316
|
+
The API exists but is a script-mode API. Run history and execution logs exist only for
|
|
14317
|
+
builder-mode APIs. Error code: `invalid_api_type`.
|
|
14318
|
+
content:
|
|
14319
|
+
application/json:
|
|
14320
|
+
schema:
|
|
14321
|
+
$ref: '#/components/schemas/Error'
|
|
14322
|
+
examples:
|
|
14323
|
+
scriptApi:
|
|
14324
|
+
summary: Script-mode API
|
|
14325
|
+
value:
|
|
14326
|
+
errors:
|
|
14327
|
+
- code: invalid_api_type
|
|
14328
|
+
message: Run history and execution logs are only available for builder APIs.
|
|
14329
|
+
422-execution-log:
|
|
14330
|
+
description: |-
|
|
14331
|
+
The `executionId` is malformed (`invalid_execution_id`), or the API is a script-mode API
|
|
14332
|
+
(`invalid_api_type`); run history and execution logs exist only for builder-mode APIs.
|
|
14333
|
+
content:
|
|
14334
|
+
application/json:
|
|
14335
|
+
schema:
|
|
14336
|
+
$ref: '#/components/schemas/Error'
|
|
14337
|
+
examples:
|
|
14338
|
+
invalidExecutionId:
|
|
14339
|
+
summary: Malformed executionId
|
|
14340
|
+
value:
|
|
14341
|
+
errors:
|
|
14342
|
+
- code: invalid_execution_id
|
|
14343
|
+
message: executionId is invalid
|
|
14344
|
+
scriptApi:
|
|
14345
|
+
summary: Script-mode API
|
|
14346
|
+
value:
|
|
14347
|
+
errors:
|
|
14348
|
+
- code: invalid_api_type
|
|
14349
|
+
message: Run history and execution logs are only available for builder APIs.
|
|
14306
14350
|
x-enable-proxy: true
|
|
14307
14351
|
x-internal: false
|
package/dist/apim.yml
CHANGED
|
@@ -224,7 +224,20 @@ paths:
|
|
|
224
224
|
'401':
|
|
225
225
|
$ref: '#/components/responses/401-unauthorized'
|
|
226
226
|
'403':
|
|
227
|
-
|
|
227
|
+
description: |-
|
|
228
|
+
The caller may not list APIM APIs. An account without an API Management license gets
|
|
229
|
+
`apim_license_not_enabled` ("APIM license is not enabled.").
|
|
230
|
+
content:
|
|
231
|
+
application/json:
|
|
232
|
+
schema:
|
|
233
|
+
$ref: '#/components/schemas/Error'
|
|
234
|
+
examples:
|
|
235
|
+
noLicense:
|
|
236
|
+
summary: Account without an API Management license
|
|
237
|
+
value:
|
|
238
|
+
errors:
|
|
239
|
+
- code: apim_license_not_enabled
|
|
240
|
+
message: APIM license is not enabled.
|
|
228
241
|
/v1/apim/{modelPlural}/{_id}/manageAPI:
|
|
229
242
|
post:
|
|
230
243
|
x-internal: false
|
|
@@ -655,7 +668,9 @@ paths:
|
|
|
655
668
|
get:
|
|
656
669
|
x-internal: false
|
|
657
670
|
summary: Get APIM settings
|
|
658
|
-
description:
|
|
671
|
+
description: |-
|
|
672
|
+
Returns the APIM subdomain and service account email configured for the account. An account
|
|
673
|
+
without API Management gets 200 with an empty object.
|
|
659
674
|
operationId: getApimSettings
|
|
660
675
|
tags:
|
|
661
676
|
- APIM
|
|
@@ -671,6 +686,9 @@ paths:
|
|
|
671
686
|
value:
|
|
672
687
|
subdomain: production-subdomain
|
|
673
688
|
serviceAccountEmail: apim-service@example.com
|
|
689
|
+
notConfigured:
|
|
690
|
+
summary: Account without API Management
|
|
691
|
+
value: {}
|
|
674
692
|
'401':
|
|
675
693
|
$ref: '#/components/responses/401-unauthorized'
|
|
676
694
|
'403':
|
package/dist/connection.yml
CHANGED
|
@@ -2542,6 +2542,13 @@ paths:
|
|
|
2542
2542
|
Logs are shared across every flow using the connection (filter by `resourceId` client-side),
|
|
2543
2543
|
and sensitive header values are redacted (`"Authorization": "********"`). For execution logs
|
|
2544
2544
|
tied to a specific run, use `GET /v1/flows/{_id}/jobs/{_jobId}/logs` instead.
|
|
2545
|
+
|
|
2546
|
+
Each response is capped (by default 100 log files and 2,000,000 bytes; the deployment can
|
|
2547
|
+
change both). Without `time_gt` the response holds the newest log files that fit the cap.
|
|
2548
|
+
With `time_gt` it holds the oldest files newer than `time_gt` that fit the cap, so a client
|
|
2549
|
+
can page forward: send the previous response's `X-Debug-Logs-Latest` value as the next
|
|
2550
|
+
`time_gt`. Files that share the boundary timestamp are returned together. Entries are
|
|
2551
|
+
ordered oldest first.
|
|
2545
2552
|
parameters:
|
|
2546
2553
|
- name: _id
|
|
2547
2554
|
in: path
|
|
@@ -2551,9 +2558,15 @@ paths:
|
|
|
2551
2558
|
type: string
|
|
2552
2559
|
format: objectId
|
|
2553
2560
|
x-celigo-refModel: connections
|
|
2561
|
+
- $ref: '#/components/parameters/DebugLogsTimeGt'
|
|
2554
2562
|
responses:
|
|
2555
2563
|
'200':
|
|
2556
2564
|
description: Debug log stream (plain text).
|
|
2565
|
+
headers:
|
|
2566
|
+
X-Debug-Logs-Latest:
|
|
2567
|
+
$ref: '#/components/headers/DebugLogsLatest'
|
|
2568
|
+
X-Debug-Logs-Truncated:
|
|
2569
|
+
$ref: '#/components/headers/DebugLogsTruncated'
|
|
2557
2570
|
content:
|
|
2558
2571
|
text/plain:
|
|
2559
2572
|
schema:
|
|
@@ -2573,11 +2586,36 @@ paths:
|
|
|
2573
2586
|
'204':
|
|
2574
2587
|
description: |-
|
|
2575
2588
|
No debug logs available — either debug capture is disabled (no `debugDate` set, or it
|
|
2576
|
-
is in the past)
|
|
2589
|
+
is in the past), the buffer has been cleared, or no log file is newer than `time_gt`.
|
|
2590
|
+
'400':
|
|
2591
|
+
description: '`time_gt` is not a non-negative integer of epoch milliseconds.'
|
|
2592
|
+
content:
|
|
2593
|
+
application/json:
|
|
2594
|
+
schema:
|
|
2595
|
+
$ref: '#/components/schemas/Error'
|
|
2596
|
+
examples:
|
|
2597
|
+
invalidTimeGt:
|
|
2598
|
+
value:
|
|
2599
|
+
errors:
|
|
2600
|
+
- code: invalid_url
|
|
2601
|
+
message: time_gt is not valid.
|
|
2577
2602
|
'401':
|
|
2578
2603
|
$ref: '#/components/responses/401-unauthorized'
|
|
2579
2604
|
'404':
|
|
2580
2605
|
$ref: '#/components/responses/404-not-found'
|
|
2606
|
+
'500':
|
|
2607
|
+
description: The debug log store could not be listed or read.
|
|
2608
|
+
content:
|
|
2609
|
+
application/json:
|
|
2610
|
+
schema:
|
|
2611
|
+
$ref: '#/components/schemas/Error'
|
|
2612
|
+
examples:
|
|
2613
|
+
internalError:
|
|
2614
|
+
value:
|
|
2615
|
+
errors:
|
|
2616
|
+
- code: INTERNAL_ERROR
|
|
2617
|
+
message: Failed to list S3 keys
|
|
2618
|
+
source: internal
|
|
2581
2619
|
delete:
|
|
2582
2620
|
x-internal: false
|
|
2583
2621
|
operationId: clearConnectionDebugLogs
|
|
@@ -2627,6 +2665,9 @@ paths:
|
|
|
2627
2665
|
|
|
2628
2666
|
`typeId` must be the id of an export or import in the account; an id that resolves to
|
|
2629
2667
|
neither answers 404, and a value that is not an ObjectId answers 400.
|
|
2668
|
+
|
|
2669
|
+
The response cap and `time_gt` paging work as on `GET /v1/connections/{_id}/debug`: newest
|
|
2670
|
+
files without `time_gt`, oldest files newer than `time_gt` with it, entries oldest first.
|
|
2630
2671
|
parameters:
|
|
2631
2672
|
- name: _id
|
|
2632
2673
|
in: path
|
|
@@ -2643,9 +2684,15 @@ paths:
|
|
|
2643
2684
|
schema:
|
|
2644
2685
|
type: string
|
|
2645
2686
|
format: objectId
|
|
2687
|
+
- $ref: '#/components/parameters/DebugLogsTimeGt'
|
|
2646
2688
|
responses:
|
|
2647
2689
|
'200':
|
|
2648
2690
|
description: Debug log stream (plain text) for the given export or import.
|
|
2691
|
+
headers:
|
|
2692
|
+
X-Debug-Logs-Latest:
|
|
2693
|
+
$ref: '#/components/headers/DebugLogsLatest'
|
|
2694
|
+
X-Debug-Logs-Truncated:
|
|
2695
|
+
$ref: '#/components/headers/DebugLogsTruncated'
|
|
2649
2696
|
content:
|
|
2650
2697
|
text/plain:
|
|
2651
2698
|
schema:
|
|
@@ -2666,10 +2713,10 @@ paths:
|
|
|
2666
2713
|
'204':
|
|
2667
2714
|
description: |-
|
|
2668
2715
|
No debug logs for this export or import — debug capture is off (no future `debugDate`),
|
|
2669
|
-
the step has not run through the connection since it was enabled,
|
|
2670
|
-
cleared
|
|
2716
|
+
the step has not run through the connection since it was enabled, the buffer was
|
|
2717
|
+
cleared, or no log file is newer than `time_gt`.
|
|
2671
2718
|
'400':
|
|
2672
|
-
description: '`typeId` is not a valid ObjectId.'
|
|
2719
|
+
description: '`typeId` is not a valid ObjectId, or `time_gt` is not a non-negative integer of epoch milliseconds.'
|
|
2673
2720
|
content:
|
|
2674
2721
|
application/json:
|
|
2675
2722
|
schema:
|
|
@@ -2680,6 +2727,11 @@ paths:
|
|
|
2680
2727
|
errors:
|
|
2681
2728
|
- code: invalid_ref
|
|
2682
2729
|
message: Please provide a valid typeId.
|
|
2730
|
+
invalidTimeGt:
|
|
2731
|
+
value:
|
|
2732
|
+
errors:
|
|
2733
|
+
- code: invalid_url
|
|
2734
|
+
message: time_gt is not valid.
|
|
2683
2735
|
'401':
|
|
2684
2736
|
$ref: '#/components/responses/401-unauthorized'
|
|
2685
2737
|
'404':
|
|
@@ -2701,6 +2753,19 @@ paths:
|
|
|
2701
2753
|
errors:
|
|
2702
2754
|
- code: invalid_ref
|
|
2703
2755
|
message: Export/Import not found.
|
|
2756
|
+
'500':
|
|
2757
|
+
description: The debug log store could not be listed or read.
|
|
2758
|
+
content:
|
|
2759
|
+
application/json:
|
|
2760
|
+
schema:
|
|
2761
|
+
$ref: '#/components/schemas/Error'
|
|
2762
|
+
examples:
|
|
2763
|
+
internalError:
|
|
2764
|
+
value:
|
|
2765
|
+
errors:
|
|
2766
|
+
- code: INTERNAL_ERROR
|
|
2767
|
+
message: Failed to list S3 keys
|
|
2768
|
+
source: internal
|
|
2704
2769
|
/v1/connections/{_id}/metadata:
|
|
2705
2770
|
put:
|
|
2706
2771
|
x-internal: false
|
|
@@ -2931,11 +2996,14 @@ paths:
|
|
|
2931
2996
|
summary: Purge the message queue for a connection
|
|
2932
2997
|
description: |-
|
|
2933
2998
|
Purges all messages from the connection's message queue. This is a
|
|
2934
|
-
rate-limited operation — repeated calls within
|
|
2935
|
-
|
|
2999
|
+
rate-limited operation — repeated calls within about a minute are
|
|
3000
|
+
throttled.
|
|
2936
3001
|
|
|
2937
3002
|
Returns an empty response on success. If the queue is already empty,
|
|
2938
|
-
the request fails with an `empty_connection_queue` error.
|
|
3003
|
+
the request fails with an `empty_connection_queue` error. The connection
|
|
3004
|
+
is looked up before the purge rate limit applies, so an unknown or
|
|
3005
|
+
inaccessible connection id answers 404 rather than 429, however often it
|
|
3006
|
+
is sent.
|
|
2939
3007
|
parameters:
|
|
2940
3008
|
- in: path
|
|
2941
3009
|
name: _id
|
|
@@ -2949,7 +3017,9 @@ paths:
|
|
|
2949
3017
|
'401':
|
|
2950
3018
|
$ref: '#/components/responses/401-unauthorized'
|
|
2951
3019
|
'404':
|
|
2952
|
-
description:
|
|
3020
|
+
description: |-
|
|
3021
|
+
The connection does not exist in the account (checked before the purge
|
|
3022
|
+
rate limit), or the connection's message queue is already empty.
|
|
2953
3023
|
content:
|
|
2954
3024
|
application/json:
|
|
2955
3025
|
schema:
|
|
@@ -2964,12 +3034,23 @@ paths:
|
|
|
2964
3034
|
type: string
|
|
2965
3035
|
message:
|
|
2966
3036
|
type: string
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
3037
|
+
examples:
|
|
3038
|
+
connectionNotFound:
|
|
3039
|
+
summary: Unknown connection id
|
|
3040
|
+
value:
|
|
3041
|
+
errors:
|
|
3042
|
+
- code: invalid_ref
|
|
3043
|
+
message: Connection not found for the given id.
|
|
3044
|
+
emptyQueue:
|
|
3045
|
+
summary: Nothing to purge
|
|
3046
|
+
value:
|
|
3047
|
+
errors:
|
|
3048
|
+
- code: empty_connection_queue
|
|
3049
|
+
message: The connection's message queue is already empty.
|
|
2971
3050
|
'429':
|
|
2972
|
-
description:
|
|
3051
|
+
description: |-
|
|
3052
|
+
Rate limit exceeded for an existing connection. Wait the number of
|
|
3053
|
+
seconds the message names before retrying.
|
|
2973
3054
|
content:
|
|
2974
3055
|
application/json:
|
|
2975
3056
|
schema:
|
|
@@ -2984,7 +3065,7 @@ paths:
|
|
|
2984
3065
|
type: string
|
|
2985
3066
|
example:
|
|
2986
3067
|
errors:
|
|
2987
|
-
- message:
|
|
3068
|
+
- message: Rate limit exceeded. Please try again after 43 seconds.
|
|
2988
3069
|
/v1/connection/{_id}/oauth2:
|
|
2989
3070
|
get:
|
|
2990
3071
|
x-internal: false
|
|
@@ -3863,6 +3944,20 @@ components:
|
|
|
3863
3944
|
schema:
|
|
3864
3945
|
type: string
|
|
3865
3946
|
example: createdAt,lastModified
|
|
3947
|
+
DebugLogsTimeGt:
|
|
3948
|
+
name: time_gt
|
|
3949
|
+
in: query
|
|
3950
|
+
required: false
|
|
3951
|
+
description: |-
|
|
3952
|
+
Epoch milliseconds. When set, only log files whose timestamp is greater than this value
|
|
3953
|
+
are returned, oldest first, up to the response cap. Send the `X-Debug-Logs-Latest` value
|
|
3954
|
+
of the previous response to fetch the next files. Digits only; any other value answers
|
|
3955
|
+
400 `invalid_url` before the connection is looked up.
|
|
3956
|
+
schema:
|
|
3957
|
+
type: string
|
|
3958
|
+
pattern: ^\d+$
|
|
3959
|
+
examples:
|
|
3960
|
+
- '1776570246673'
|
|
3866
3961
|
schemas:
|
|
3867
3962
|
ResourceResponse:
|
|
3868
3963
|
type: object
|
|
@@ -11717,5 +11812,25 @@ components:
|
|
|
11717
11812
|
errors:
|
|
11718
11813
|
- code: unprocessable_entity
|
|
11719
11814
|
message: The request could not be processed due to a semantic error.
|
|
11815
|
+
headers:
|
|
11816
|
+
DebugLogsLatest:
|
|
11817
|
+
description: |-
|
|
11818
|
+
Epoch-millisecond timestamp of the newest log file in this response. Send it as `time_gt`
|
|
11819
|
+
on the next call to read the files that follow.
|
|
11820
|
+
schema:
|
|
11821
|
+
type: string
|
|
11822
|
+
pattern: ^\d+$
|
|
11823
|
+
examples:
|
|
11824
|
+
- '1776570246774'
|
|
11825
|
+
DebugLogsTruncated:
|
|
11826
|
+
description: |-
|
|
11827
|
+
Present with the value `true` when the response cap left matching log files out. Absent
|
|
11828
|
+
when every matching file was returned.
|
|
11829
|
+
schema:
|
|
11830
|
+
type: string
|
|
11831
|
+
enum:
|
|
11832
|
+
- 'true'
|
|
11833
|
+
x-enumDescriptions:
|
|
11834
|
+
'true': The cap left matching log files out of this response.
|
|
11720
11835
|
x-enable-proxy: true
|
|
11721
11836
|
x-internal: false
|
package/dist/connector.yml
CHANGED
|
@@ -71,6 +71,8 @@ paths:
|
|
|
71
71
|
description: No connectors exist.
|
|
72
72
|
'401':
|
|
73
73
|
$ref: '#/components/responses/401-unauthorized'
|
|
74
|
+
'403':
|
|
75
|
+
$ref: '#/components/responses/403-partner-only'
|
|
74
76
|
post:
|
|
75
77
|
x-internal: false
|
|
76
78
|
operationId: createConnector
|
|
@@ -120,6 +122,8 @@ paths:
|
|
|
120
122
|
lastModified: '2015-03-06T20:16:56.000Z'
|
|
121
123
|
'401':
|
|
122
124
|
$ref: '#/components/responses/401-unauthorized'
|
|
125
|
+
'403':
|
|
126
|
+
$ref: '#/components/responses/403-partner-only'
|
|
123
127
|
'422':
|
|
124
128
|
$ref: '#/components/responses/422-unprocessable-entity'
|
|
125
129
|
/v1/connectors/{_id}:
|
|
@@ -168,6 +172,8 @@ paths:
|
|
|
168
172
|
$ref: '#/components/responses/400-bad-request'
|
|
169
173
|
'401':
|
|
170
174
|
$ref: '#/components/responses/401-unauthorized'
|
|
175
|
+
'403':
|
|
176
|
+
$ref: '#/components/responses/403-partner-only'
|
|
171
177
|
'404':
|
|
172
178
|
$ref: '#/components/responses/404-not-found'
|
|
173
179
|
put:
|
|
@@ -232,6 +238,8 @@ paths:
|
|
|
232
238
|
$ref: '#/components/responses/400-bad-request'
|
|
233
239
|
'401':
|
|
234
240
|
$ref: '#/components/responses/401-unauthorized'
|
|
241
|
+
'403':
|
|
242
|
+
$ref: '#/components/responses/403-partner-only'
|
|
235
243
|
'404':
|
|
236
244
|
$ref: '#/components/responses/404-not-found'
|
|
237
245
|
'422':
|
|
@@ -260,6 +268,8 @@ paths:
|
|
|
260
268
|
$ref: '#/components/responses/400-bad-request'
|
|
261
269
|
'401':
|
|
262
270
|
$ref: '#/components/responses/401-unauthorized'
|
|
271
|
+
'403':
|
|
272
|
+
$ref: '#/components/responses/403-partner-only'
|
|
263
273
|
'404':
|
|
264
274
|
$ref: '#/components/responses/404-not-found'
|
|
265
275
|
/v1/connectors/{_id}/installBase:
|
|
@@ -304,6 +314,8 @@ paths:
|
|
|
304
314
|
$ref: '#/components/responses/400-bad-request'
|
|
305
315
|
'401':
|
|
306
316
|
$ref: '#/components/responses/401-unauthorized'
|
|
317
|
+
'403':
|
|
318
|
+
$ref: '#/components/responses/403-partner-only'
|
|
307
319
|
'404':
|
|
308
320
|
$ref: '#/components/responses/404-not-found'
|
|
309
321
|
/v1/connectors/{_id}/update:
|
|
@@ -351,6 +363,8 @@ paths:
|
|
|
351
363
|
$ref: '#/components/responses/400-bad-request'
|
|
352
364
|
'401':
|
|
353
365
|
$ref: '#/components/responses/401-unauthorized'
|
|
366
|
+
'403':
|
|
367
|
+
$ref: '#/components/responses/403-partner-only'
|
|
354
368
|
'404':
|
|
355
369
|
$ref: '#/components/responses/404-not-found'
|
|
356
370
|
/v1/connectors/{_id}/licenses:
|
|
@@ -462,6 +476,8 @@ paths:
|
|
|
462
476
|
name: Account Admin
|
|
463
477
|
'401':
|
|
464
478
|
$ref: '#/components/responses/401-unauthorized'
|
|
479
|
+
'403':
|
|
480
|
+
$ref: '#/components/responses/403-partner-only'
|
|
465
481
|
'404':
|
|
466
482
|
$ref: '#/components/responses/404-not-found'
|
|
467
483
|
'422':
|
|
@@ -519,6 +535,8 @@ paths:
|
|
|
519
535
|
$ref: '#/components/responses/400-bad-request'
|
|
520
536
|
'401':
|
|
521
537
|
$ref: '#/components/responses/401-unauthorized'
|
|
538
|
+
'403':
|
|
539
|
+
$ref: '#/components/responses/403-partner-only'
|
|
522
540
|
'404':
|
|
523
541
|
$ref: '#/components/responses/404-not-found'
|
|
524
542
|
put:
|
|
@@ -591,6 +609,8 @@ paths:
|
|
|
591
609
|
$ref: '#/components/responses/400-bad-request'
|
|
592
610
|
'401':
|
|
593
611
|
$ref: '#/components/responses/401-unauthorized'
|
|
612
|
+
'403':
|
|
613
|
+
$ref: '#/components/responses/403-partner-only'
|
|
594
614
|
'404':
|
|
595
615
|
$ref: '#/components/responses/404-not-found'
|
|
596
616
|
'422':
|
|
@@ -625,6 +645,8 @@ paths:
|
|
|
625
645
|
$ref: '#/components/responses/400-bad-request'
|
|
626
646
|
'401':
|
|
627
647
|
$ref: '#/components/responses/401-unauthorized'
|
|
648
|
+
'403':
|
|
649
|
+
$ref: '#/components/responses/403-partner-only'
|
|
628
650
|
'404':
|
|
629
651
|
$ref: '#/components/responses/404-not-found'
|
|
630
652
|
/v1/connectors/{_id}/install:
|
|
@@ -1159,13 +1181,6 @@ components:
|
|
|
1159
1181
|
description: Number of active installations of this connector.
|
|
1160
1182
|
examples:
|
|
1161
1183
|
- 3672
|
|
1162
|
-
Request:
|
|
1163
|
-
type: object
|
|
1164
|
-
description: Fields that can be sent when creating or updating a connector. Partner accounts only.
|
|
1165
|
-
required:
|
|
1166
|
-
- name
|
|
1167
|
-
allOf:
|
|
1168
|
-
- $ref: '#/components/schemas/ConnectorBase'
|
|
1169
1184
|
Error:
|
|
1170
1185
|
type: object
|
|
1171
1186
|
description: Standard error response envelope returned by integrator.io APIs.
|
|
@@ -1206,6 +1221,13 @@ components:
|
|
|
1206
1221
|
- message
|
|
1207
1222
|
required:
|
|
1208
1223
|
- errors
|
|
1224
|
+
Request:
|
|
1225
|
+
type: object
|
|
1226
|
+
description: Fields that can be sent when creating or updating a connector. Partner accounts only.
|
|
1227
|
+
required:
|
|
1228
|
+
- name
|
|
1229
|
+
allOf:
|
|
1230
|
+
- $ref: '#/components/schemas/ConnectorBase'
|
|
1209
1231
|
License:
|
|
1210
1232
|
type: object
|
|
1211
1233
|
properties:
|
|
@@ -1371,6 +1393,21 @@ components:
|
|
|
1371
1393
|
summary: Bearer token invalid or revoked
|
|
1372
1394
|
value:
|
|
1373
1395
|
message: Bearer Authentication Failed
|
|
1396
|
+
403-partner-only:
|
|
1397
|
+
description: |-
|
|
1398
|
+
The account isn't a Celigo Partner account. Every caller on such an account is refused with
|
|
1399
|
+
`access_restricted`, the account owner's full-access API token included.
|
|
1400
|
+
content:
|
|
1401
|
+
application/json:
|
|
1402
|
+
schema:
|
|
1403
|
+
$ref: '#/components/schemas/Error'
|
|
1404
|
+
examples:
|
|
1405
|
+
notPartner:
|
|
1406
|
+
summary: Account that isn't a Partner account
|
|
1407
|
+
value:
|
|
1408
|
+
errors:
|
|
1409
|
+
- code: access_restricted
|
|
1410
|
+
message: You don't have the required permission to perform the request. Please contact Celigo support.
|
|
1374
1411
|
422-unprocessable-entity:
|
|
1375
1412
|
description: |
|
|
1376
1413
|
Unprocessable entity. The request was well-formed but was unable to be followed due to semantic errors.
|