@celigo/api-specs 0.2.1 → 0.2.2-IO-168454-EPIC-fb
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/README.md +71 -80
- package/dist/account.yml +201 -3
- package/dist/agent.yml +7 -0
- package/dist/ai-agent.yml +627 -135
- package/dist/api.yml +5953 -127
- package/dist/apim.yml +0 -4
- package/dist/asynchelper.yml +117 -22
- package/dist/audit.yml +41 -2
- package/dist/bartendertemplate.yml +508 -0
- package/dist/connection.yml +1166 -125
- package/dist/ediprofile.yml +7 -0
- package/dist/editransaction.yml +250 -14
- package/dist/enduser.yml +5778 -35
- package/dist/export.yml +1028 -983
- package/dist/filedefinition.yml +37 -0
- package/dist/filedefinitionrules.yml +722 -0
- package/dist/fileserver.yml +1316 -0
- package/dist/filestorage.yml +712 -330
- package/dist/flow.yml +169 -63
- package/dist/guardrail.yml +280 -489
- package/dist/httpconnectorendpoint.yml +602 -126
- package/dist/httpconnectorresource.yml +1160 -84
- package/dist/iclient.yml +131 -76
- package/dist/import.yml +1937 -236
- package/dist/integration.yml +1024 -42
- package/dist/job.yml +180 -92
- package/dist/lookupcache.yml +7 -0
- package/dist/marketplace.yml +285 -105
- package/dist/mcp-server.yml +6745 -68
- package/dist/notification.yml +33 -8
- package/dist/processor.yml +8 -3
- package/dist/recyclebin.yml +32 -2
- package/dist/script.yml +7 -0
- package/dist/stack.yml +642 -5
- package/dist/storagequery.yml +865 -0
- package/dist/subscription.yml +254 -58
- package/dist/sync.yml +383 -72
- package/dist/template.yml +39 -1
- package/dist/tool.yml +6099 -2242
- package/dist/topic.yml +1783 -0
- package/dist/tradingpartnerconnector.yml +10 -0
- package/dist/user.yml +238 -32
- package/package.json +13 -1
- package/schemas.json +2346 -1885
package/README.md
CHANGED
|
@@ -1,12 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
<!--
|
|
2
|
+
This file ships as the README of the @celigo/api-specs npm package. Its audience is public, so it
|
|
3
|
+
must not describe repository internals or link into the repository. The repository README is
|
|
4
|
+
.github/README.md, which GitHub renders in place of this one.
|
|
5
|
+
-->
|
|
2
6
|
|
|
3
|
-
|
|
4
|
-
|
|
7
|
+
# @celigo/api-specs
|
|
8
|
+
|
|
9
|
+
OpenAPI 3.2 specifications for the [Celigo integrator.io](https://www.celigo.com) REST API,
|
|
10
|
+
packaged as files for tooling. They are the documents behind the
|
|
5
11
|
[API reference on the Celigo Developer Platform](https://developer.celigo.com/api/api-reference),
|
|
6
12
|
and what the [Celigo CLI](https://developer.celigo.com/cli) validates resource documents against.
|
|
7
13
|
|
|
8
|
-
|
|
9
|
-
|
|
14
|
+
```bash
|
|
15
|
+
npm install @celigo/api-specs
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## What's in the package
|
|
19
|
+
|
|
20
|
+
Every platform resource has its own OpenAPI document under `dist/` — connections, flows, exports,
|
|
21
|
+
imports, integrations, jobs, scripts, tools, and the rest. Each file is self-contained, with every
|
|
22
|
+
`$ref` already inlined, so it can go straight into a client generator, a request validator, or an
|
|
23
|
+
AI agent's context with no loader configuration.
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
dist/connection.yml
|
|
27
|
+
dist/flow.yml
|
|
28
|
+
dist/export.yml
|
|
29
|
+
dist/import.yml
|
|
30
|
+
...
|
|
31
|
+
schemas.json
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`schemas.json` is the schema pack that the Celigo CLI's `celigo lint` command validates documents
|
|
35
|
+
against, compiled from the same bundles. Other consumers can ignore it.
|
|
36
|
+
|
|
37
|
+
Resolve a document the same way as any other packaged file:
|
|
38
|
+
|
|
39
|
+
```js
|
|
40
|
+
import { createRequire } from "node:module";
|
|
41
|
+
|
|
42
|
+
const require = createRequire(import.meta.url);
|
|
43
|
+
const specPath = require.resolve("@celigo/api-specs/dist/connection.yml");
|
|
44
|
+
```
|
|
10
45
|
|
|
11
46
|
## The API these specs describe
|
|
12
47
|
|
|
@@ -23,97 +58,53 @@ The API is served from four regional hosts. Use the one your account lives in:
|
|
|
23
58
|
| AU | `https://api.au.integrator.io` |
|
|
24
59
|
| CA | `https://api.ca.integrator.io` |
|
|
25
60
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
To browse the API, read the rendered reference at
|
|
29
|
-
[developer.celigo.com/api/api-reference](https://developer.celigo.com/api/api-reference). Each
|
|
30
|
-
resource has its own page, with a console for trying calls against your own account.
|
|
31
|
-
|
|
32
|
-
To consume the specs as files — client generation, request validation, or grounding an AI agent on
|
|
33
|
-
the API surface — install the published bundles:
|
|
61
|
+
API Management (`/v1/apim/...`) is served from the US and EU hosts only.
|
|
34
62
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
Jenkins publishes the package with `schemas.json` at the package root for `celigo lint` and the
|
|
40
|
-
bundled OpenAPI documents under `dist/` for other consumers. The tarball excludes the authored
|
|
41
|
-
`specs/` tree, tests, scripts, internal operations, deprecated fields, and source-only metadata.
|
|
42
|
-
|
|
43
|
-
Each resource ships as one self-contained OpenAPI 3.2 document with every `$ref` already inlined,
|
|
44
|
-
so a spec file can go straight to a generator or validator with no loader configuration.
|
|
63
|
+
To browse the API interactively, use the
|
|
64
|
+
[rendered reference](https://developer.celigo.com/api/api-reference): each resource has its own
|
|
65
|
+
page, with a console for trying calls against your own account.
|
|
45
66
|
|
|
46
67
|
## What the specs cover
|
|
47
68
|
|
|
48
69
|
The specs are prescriptive. They describe the API surface Celigo supports and intends to keep
|
|
49
70
|
supporting — not everything the server happens to tolerate. Internal endpoints, deprecated fields,
|
|
50
|
-
and retired enum values are deliberately left out
|
|
71
|
+
and retired enum values are deliberately left out.
|
|
51
72
|
|
|
52
73
|
The practical consequence: a request that validates against these specs is one you can build on.
|
|
53
|
-
The reverse does not hold. The
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
Alongside standard OpenAPI, the specs carry `x-` extensions that Celigo tooling reads —
|
|
57
|
-
`x-enumDescriptions` explains what each enum value does, `x-celigo-refModel` names the resource an
|
|
58
|
-
ID field points at, and a handful of others. Standard OpenAPI consumers can ignore them;
|
|
59
|
-
[CONTRIBUTING.md](CONTRIBUTING.md) documents what each one means.
|
|
60
|
-
|
|
61
|
-
## Repository layout
|
|
62
|
-
|
|
63
|
-
Specs are authored as multi-file `$ref` trees and bundled into the single-file documents that get
|
|
64
|
-
published.
|
|
74
|
+
The reverse does not hold. The server may accept a payload no spec describes, and that payload may
|
|
75
|
+
be ignored or rejected later.
|
|
65
76
|
|
|
66
|
-
|
|
67
|
-
specs/v1/ authored source, one directory per resource
|
|
68
|
-
common/ schemas and responses shared across specs
|
|
69
|
-
connection/
|
|
70
|
-
connection.yml spec root: info, servers, security, path refs
|
|
71
|
-
paths/*.yml path item objects
|
|
72
|
-
components/schemas/ request and response schemas
|
|
73
|
-
flow/
|
|
74
|
-
...
|
|
75
|
-
redocly.yaml spec registry, lint rules, and publish decorators
|
|
76
|
-
scripts/ bundling, validation gates, and publishing
|
|
77
|
-
tests/live/ contract tests that exercise the specs against the live API
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
`specs/v1/` mirrors the `/v1/` URL prefix. A future breaking version would land in a sibling
|
|
81
|
-
`specs/v2/` tree; additive v2 endpoints go straight into the existing spec files.
|
|
82
|
-
|
|
83
|
-
## Development
|
|
77
|
+
## Extensions
|
|
84
78
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
npm run lint # Redocly lint across every registered spec
|
|
88
|
-
npm run bundle # validation gates, then bundle to dist/
|
|
89
|
-
```
|
|
79
|
+
Alongside standard OpenAPI, the documents carry `x-` extensions that Celigo tooling reads. Standard
|
|
80
|
+
OpenAPI consumers can ignore them; validators and AI agents may find them useful.
|
|
90
81
|
|
|
91
|
-
|
|
92
|
-
|
|
82
|
+
| Extension | Where | Meaning |
|
|
83
|
+
| ------------------------------ | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
84
|
+
| `x-enumDescriptions` | Fields with `enum` | One line per enum value explaining what it does. |
|
|
85
|
+
| `x-celigo-refModel` | ID fields | The resource type the ID points at (`flows`, `scripts`, and so on). |
|
|
86
|
+
| `x-celigo-ai-guidance` | Schemas and fields | Operational hints for AI agents: which default to choose, what to set when scaffolding, and the concrete failure that results from getting it wrong. |
|
|
87
|
+
| `x-celigo-ui-override` | Schemas and fields | Marks a requirement or default that mirrors the integrator.io form, which is stricter than the raw API, so generated configurations are complete and connectable. |
|
|
88
|
+
| `x-celigo-agent` | Expression fields | How the field is authored — capability tags such as `handlebars`, `sql`, `graphql`, `filter`, `mapping`, `script`. |
|
|
89
|
+
| `x-celigo-handlebars-context` | Handlebars fields | The data context the expression is evaluated against, such as `pre-mapped` or `post-mapped`. |
|
|
90
|
+
| `x-celigo-excludeAdaptorTypes` | Shared adaptor fields | Adaptor types the field does not apply to. |
|
|
91
|
+
| `x-lowercase`, `x-uppercase` | String fields | The API normalizes the value's case on save. |
|
|
93
92
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
[tests/live/README.md](tests/live/README.md) covers the contract test suite.
|
|
93
|
+
`x-internal`, `x-enable-proxy`, and `x-displayName` control the documentation toolchain and carry no
|
|
94
|
+
API meaning.
|
|
97
95
|
|
|
98
96
|
## Support
|
|
99
97
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
For a problem with the specs — a schema that disagrees with the API, a missing field or endpoint, a
|
|
99
|
+
description that led you somewhere wrong — or with integrator.io itself, contact
|
|
100
|
+
[Celigo Support](https://docs.celigo.com/hc/en-us/requests/new). The most useful report names the
|
|
101
|
+
spec and operation, shows the request you made, and shows what the API returned next to what the
|
|
102
|
+
spec said it would. Never include API tokens, credentials, or customer data.
|
|
104
103
|
|
|
105
|
-
Report a suspected vulnerability
|
|
106
|
-
|
|
107
|
-
[Celigo Support](https://docs.celigo.com/hc/en-us/requests/new). Never include tokens,
|
|
108
|
-
credentials, or customer data.
|
|
104
|
+
Report a suspected security vulnerability through the same channel, privately, with the spec and
|
|
105
|
+
operation involved, what it discloses or enables, and reproduction steps.
|
|
109
106
|
|
|
110
107
|
## License
|
|
111
108
|
|
|
112
|
-
MIT
|
|
113
|
-
governed by your Celigo agreement.
|
|
114
|
-
|
|
115
|
-
## Contributing
|
|
116
|
-
|
|
117
|
-
[CONTRIBUTING.md](CONTRIBUTING.md) has the authoring rules and how publishing works.
|
|
118
|
-
Participation follows [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md); [SECURITY.md](SECURITY.md) and
|
|
119
|
-
[SUPPORT.md](SUPPORT.md) carry the full policies.
|
|
109
|
+
MIT. The `LICENSE` file ships in the package. The specs describe the integrator.io API; use of the
|
|
110
|
+
API itself is governed by your Celigo agreement.
|
package/dist/account.yml
CHANGED
|
@@ -103,7 +103,9 @@ paths:
|
|
|
103
103
|
description: |-
|
|
104
104
|
Returns every account that other users have shared with the current
|
|
105
105
|
user. This is the inverse of `GET /v1/ashares`, which lists users
|
|
106
|
-
who have access to *your* account.
|
|
106
|
+
who have access to *your* account. Respond to a pending invitation
|
|
107
|
+
with `PUT /v1/ashares/{_id}/accept` or `PUT /v1/ashares/{_id}/dismiss`;
|
|
108
|
+
leave an account with `DELETE /v1/shared/ashares/{_id}`.
|
|
107
109
|
responses:
|
|
108
110
|
'200':
|
|
109
111
|
description: Array of shared-account entries.
|
|
@@ -142,6 +144,47 @@ paths:
|
|
|
142
144
|
description: No accounts are shared with the current user.
|
|
143
145
|
'401':
|
|
144
146
|
$ref: '#/components/responses/401-unauthorized'
|
|
147
|
+
/v1/shared/ashares/{_id}:
|
|
148
|
+
delete:
|
|
149
|
+
x-internal: false
|
|
150
|
+
operationId: deleteSharedAccount
|
|
151
|
+
tags:
|
|
152
|
+
- Account
|
|
153
|
+
summary: Leave a shared account
|
|
154
|
+
description: |-
|
|
155
|
+
Revokes the current user's own access to an account that was shared with
|
|
156
|
+
them by deleting the share record. Leaving an administrator share also
|
|
157
|
+
removes the matching shares in the owner's other environments. The only
|
|
158
|
+
share a user holds cannot be deleted unless that account requires SSO for
|
|
159
|
+
the user — dismiss it through `PUT /v1/ashares/{_id}/dismiss` instead. To
|
|
160
|
+
remove a user from *your* account, use `DELETE /v1/ashares/{_id}`.
|
|
161
|
+
parameters:
|
|
162
|
+
- name: _id
|
|
163
|
+
in: path
|
|
164
|
+
required: true
|
|
165
|
+
description: Share record id from `GET /v1/shared/ashares`, not a user or account id.
|
|
166
|
+
schema:
|
|
167
|
+
type: string
|
|
168
|
+
format: objectId
|
|
169
|
+
examples:
|
|
170
|
+
- 612345abcdef6789012345ab
|
|
171
|
+
responses:
|
|
172
|
+
'204':
|
|
173
|
+
description: Share record removed; the caller no longer has access to the account.
|
|
174
|
+
'401':
|
|
175
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
176
|
+
'404':
|
|
177
|
+
description: No share with this id is addressed to the caller.
|
|
178
|
+
content:
|
|
179
|
+
application/json:
|
|
180
|
+
schema:
|
|
181
|
+
$ref: '#/components/schemas/Error'
|
|
182
|
+
examples:
|
|
183
|
+
notShared:
|
|
184
|
+
value:
|
|
185
|
+
errors:
|
|
186
|
+
- code: invalid_ashare
|
|
187
|
+
message: The account you are trying to access is not shared with you.
|
|
145
188
|
/v1/shared/sshares:
|
|
146
189
|
get:
|
|
147
190
|
x-internal: false
|
|
@@ -152,7 +195,9 @@ paths:
|
|
|
152
195
|
description: |-
|
|
153
196
|
Returns stack-share records for the current user, including share
|
|
154
197
|
status, the user who shared, and a stack summary. To list usable
|
|
155
|
-
stacks directly, use `GET /v1/shared/stacks`.
|
|
198
|
+
stacks directly, use `GET /v1/shared/stacks`. Respond to a pending
|
|
199
|
+
invitation with `PUT /v1/sshares/{_id}/accept` or
|
|
200
|
+
`PUT /v1/sshares/{_id}/dismiss`.
|
|
156
201
|
responses:
|
|
157
202
|
'200':
|
|
158
203
|
description: Array of stack share entries.
|
|
@@ -179,6 +224,90 @@ paths:
|
|
|
179
224
|
description: No stacks are shared with the current user.
|
|
180
225
|
'401':
|
|
181
226
|
$ref: '#/components/responses/401-unauthorized'
|
|
227
|
+
/v1/sshares/{_id}/accept:
|
|
228
|
+
put:
|
|
229
|
+
x-internal: false
|
|
230
|
+
operationId: acceptStackShareInvitation
|
|
231
|
+
tags:
|
|
232
|
+
- Account
|
|
233
|
+
summary: Accept a stack share invitation
|
|
234
|
+
description: |-
|
|
235
|
+
Accepts an invitation to use another user's stack on behalf of the caller.
|
|
236
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
237
|
+
`GET /v1/shared/sshares`. Once accepted, the stack appears in
|
|
238
|
+
`GET /v1/shared/stacks` and can be referenced by the caller's hooks and
|
|
239
|
+
wrappers. Accepting a share that is already accepted changes nothing.
|
|
240
|
+
x-celigo-ai-guidance:
|
|
241
|
+
- Recipient-side operation. To share one of your own stacks, use `POST /v1/stacks/{_id}/invite` (Stacks API).
|
|
242
|
+
parameters:
|
|
243
|
+
- name: _id
|
|
244
|
+
in: path
|
|
245
|
+
required: true
|
|
246
|
+
description: Share record id from `GET /v1/shared/sshares`, not the stack id.
|
|
247
|
+
schema:
|
|
248
|
+
type: string
|
|
249
|
+
format: objectId
|
|
250
|
+
examples:
|
|
251
|
+
- 69f53622861a268851c836d0
|
|
252
|
+
responses:
|
|
253
|
+
'204':
|
|
254
|
+
description: Invitation accepted (or already accepted).
|
|
255
|
+
'401':
|
|
256
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
257
|
+
'404':
|
|
258
|
+
description: No stack share with this id is addressed to the caller.
|
|
259
|
+
content:
|
|
260
|
+
application/json:
|
|
261
|
+
schema:
|
|
262
|
+
$ref: '#/components/schemas/Error'
|
|
263
|
+
examples:
|
|
264
|
+
notShared:
|
|
265
|
+
value:
|
|
266
|
+
errors:
|
|
267
|
+
- code: invalid_ref
|
|
268
|
+
message: SShare not found.
|
|
269
|
+
/v1/sshares/{_id}/dismiss:
|
|
270
|
+
put:
|
|
271
|
+
x-internal: false
|
|
272
|
+
operationId: dismissStackShareInvitation
|
|
273
|
+
tags:
|
|
274
|
+
- Account
|
|
275
|
+
summary: Dismiss a stack share invitation
|
|
276
|
+
description: |-
|
|
277
|
+
Declines an invitation to use another user's stack on behalf of the caller.
|
|
278
|
+
The `_id` is a share record addressed *to* the caller — take it from
|
|
279
|
+
`GET /v1/shared/sshares`. The owner can send the invitation again with
|
|
280
|
+
`PUT /v1/sshares/{_id}/reinvite`. Dismissing a share that is already
|
|
281
|
+
dismissed changes nothing.
|
|
282
|
+
x-celigo-ai-guidance:
|
|
283
|
+
- Recipient-side operation. As the stack owner, revoke a share with `DELETE /v1/sshares/{_id}` (Stacks API) instead.
|
|
284
|
+
parameters:
|
|
285
|
+
- name: _id
|
|
286
|
+
in: path
|
|
287
|
+
required: true
|
|
288
|
+
description: Share record id from `GET /v1/shared/sshares`, not the stack id.
|
|
289
|
+
schema:
|
|
290
|
+
type: string
|
|
291
|
+
format: objectId
|
|
292
|
+
examples:
|
|
293
|
+
- 69f53622861a268851c836d0
|
|
294
|
+
responses:
|
|
295
|
+
'204':
|
|
296
|
+
description: Invitation dismissed (or already dismissed).
|
|
297
|
+
'401':
|
|
298
|
+
$ref: '#/components/responses/401-unauthorized'
|
|
299
|
+
'404':
|
|
300
|
+
description: No stack share with this id is addressed to the caller.
|
|
301
|
+
content:
|
|
302
|
+
application/json:
|
|
303
|
+
schema:
|
|
304
|
+
$ref: '#/components/schemas/Error'
|
|
305
|
+
examples:
|
|
306
|
+
notShared:
|
|
307
|
+
value:
|
|
308
|
+
errors:
|
|
309
|
+
- code: invalid_ref
|
|
310
|
+
message: SShare not found.
|
|
182
311
|
/v1/shared/stacks:
|
|
183
312
|
get:
|
|
184
313
|
x-internal: false
|
|
@@ -317,7 +446,34 @@ components:
|
|
|
317
446
|
type: boolean
|
|
318
447
|
description: |-
|
|
319
448
|
When true, the current user has accepted the invitation.
|
|
320
|
-
Unaccepted shares appear in the list but cannot be acted on
|
|
449
|
+
Unaccepted shares appear in the list but cannot be acted on —
|
|
450
|
+
accept one with `PUT /v1/ashares/{_id}/accept`.
|
|
451
|
+
dismissed:
|
|
452
|
+
type: boolean
|
|
453
|
+
description: |-
|
|
454
|
+
When true, the current user declined the invitation. Present only while
|
|
455
|
+
dismissed; the owner can reinvite, which clears it.
|
|
456
|
+
disabled:
|
|
457
|
+
type: boolean
|
|
458
|
+
description: |-
|
|
459
|
+
When true, the owner has suspended the current user's access to the
|
|
460
|
+
account. Present only while suspended.
|
|
461
|
+
accountSSORequired:
|
|
462
|
+
type: boolean
|
|
463
|
+
description: |-
|
|
464
|
+
When true, the owner requires the current user to sign in through SSO
|
|
465
|
+
for this account. Present only when the owner has an active SSO client;
|
|
466
|
+
reads true while the owner enforces SSO for every user, even if the
|
|
467
|
+
share itself does not carry the flag.
|
|
468
|
+
ssoSetupPending:
|
|
469
|
+
type: boolean
|
|
470
|
+
description: |-
|
|
471
|
+
When true, the current user has not yet completed SSO setup with this
|
|
472
|
+
owner, so the SSO-required access is not fully active. Present only
|
|
473
|
+
while pending.
|
|
474
|
+
isProductionAdmin:
|
|
475
|
+
type: boolean
|
|
476
|
+
description: When true, the share grants administrator access to the owner's production environment. Present only when it applies.
|
|
321
477
|
accessLevel:
|
|
322
478
|
type: string
|
|
323
479
|
description: |-
|
|
@@ -330,10 +486,12 @@ components:
|
|
|
330
486
|
- administrator
|
|
331
487
|
- manage
|
|
332
488
|
- monitor
|
|
489
|
+
- none
|
|
333
490
|
x-enumDescriptions:
|
|
334
491
|
administrator: Full administration including user management and account settings
|
|
335
492
|
manage: Create and edit integrations and resources, but not account settings or users
|
|
336
493
|
monitor: Read-only view of integrations, flows, and errors
|
|
494
|
+
none: No account-wide access; recorded by SCIM provisioning when access comes only from integrationAccessLevel
|
|
337
495
|
integrationAccessLevel:
|
|
338
496
|
type: array
|
|
339
497
|
description: |-
|
|
@@ -396,6 +554,46 @@ components:
|
|
|
396
554
|
examples:
|
|
397
555
|
- '2025-11-15T12:00:00.000Z'
|
|
398
556
|
description: Timestamp when this share record was created.
|
|
557
|
+
Error:
|
|
558
|
+
type: object
|
|
559
|
+
description: Standard error response envelope returned by integrator.io APIs.
|
|
560
|
+
properties:
|
|
561
|
+
errors:
|
|
562
|
+
type: array
|
|
563
|
+
description: List of errors that occurred while processing the request.
|
|
564
|
+
items:
|
|
565
|
+
type: object
|
|
566
|
+
properties:
|
|
567
|
+
code:
|
|
568
|
+
oneOf:
|
|
569
|
+
- type: string
|
|
570
|
+
- type: integer
|
|
571
|
+
description: |-
|
|
572
|
+
Machine-readable error code. Usually a string like
|
|
573
|
+
`invalid_ref`, `missing_required_field`, or `unauthorized`;
|
|
574
|
+
may be an **integer** when the error mirrors an upstream HTTP
|
|
575
|
+
status (e.g. `500`) — most commonly returned by connection-ping
|
|
576
|
+
and adaptor-proxy responses.
|
|
577
|
+
message:
|
|
578
|
+
type: string
|
|
579
|
+
description: Human-readable description of the error.
|
|
580
|
+
field:
|
|
581
|
+
type: string
|
|
582
|
+
description: |-
|
|
583
|
+
Optional pointer to the document field that caused the error.
|
|
584
|
+
Used by structural validation errors (`missing_required_field`,
|
|
585
|
+
`invalid_ref`) to indicate which field is at fault
|
|
586
|
+
(e.g. `_id`, `type`, `http.baseURI`).
|
|
587
|
+
source:
|
|
588
|
+
type: string
|
|
589
|
+
description: |-
|
|
590
|
+
Optional origin layer for the error — e.g. `application` when
|
|
591
|
+
the error came from the remote system the adaptor called,
|
|
592
|
+
`connector` when the adaptor itself rejected the request.
|
|
593
|
+
required:
|
|
594
|
+
- message
|
|
595
|
+
required:
|
|
596
|
+
- errors
|
|
399
597
|
StackShare:
|
|
400
598
|
type: object
|
|
401
599
|
description: |-
|
package/dist/agent.yml
CHANGED
|
@@ -754,6 +754,13 @@ components:
|
|
|
754
754
|
description: Display name of the dependent resource.
|
|
755
755
|
examples:
|
|
756
756
|
- Import Orders to NetSuite
|
|
757
|
+
type:
|
|
758
|
+
type: string
|
|
759
|
+
description: |-
|
|
760
|
+
Sub-type of the dependent resource when its collection distinguishes one, such as
|
|
761
|
+
`stream` for a listener export. Only present for resource types that carry a `type`.
|
|
762
|
+
examples:
|
|
763
|
+
- stream
|
|
757
764
|
paths:
|
|
758
765
|
type: array
|
|
759
766
|
description: |-
|