@celigo/api-specs

中文文档
0.2.274发布于 2026/11/09MIT零依赖近 30 天下载 3.2万

Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).

原始使用文档
文档目录6 节
  1. What's in the package
  2. The API these specs describe
  3. What the specs cover
  4. Extensions
  5. Support
  6. License

@celigo/api-specs

OpenAPI 3.2 specifications for the Celigo integrator.io REST API, packaged as files for tooling. They are the documents behind the API reference on the Celigo Developer Platform, and what the Celigo CLI validates resource documents against.

npm install @celigo/api-specs

What's in the package

Every platform resource has its own OpenAPI document under dist/ — connections, flows, exports, imports, integrations, jobs, scripts, tools, and the rest. Each file is self-contained, with every $ref already inlined, so it can go straight into a client generator, a request validator, or an AI agent's context with no loader configuration.

dist/connection.yml
dist/flow.yml
dist/export.yml
dist/import.yml
...
schemas.json

schemas.json is the schema pack that the Celigo CLI's celigo lint command validates documents against, compiled from the same bundles. Other consumers can ignore it.

Resolve a document the same way as any other packaged file:

import { createRequire } from "node:module";

const require = createRequire(import.meta.url);
const specPath = require.resolve("@celigo/api-specs/dist/connection.yml");

The API these specs describe

All operations live under the /v1/ prefix and authenticate with a bearer token (Authorization: Bearer <token>). Create a token in integrator.io under Resources > API tokens.

The API is served from four regional hosts. Use the one your account lives in:

RegionBase URL
US (default)https://api.integrator.io
EUhttps://api.eu.integrator.io
AUhttps://api.au.integrator.io
CAhttps://api.ca.integrator.io

API Management (/v1/apim/...) is served from the US and EU hosts only.

To browse the API interactively, use the rendered reference: each resource has its own page, with a console for trying calls against your own account.

What the specs cover

The specs are prescriptive. They describe the API surface Celigo supports and intends to keep supporting — not everything the server happens to tolerate. Internal endpoints, deprecated fields, and retired enum values are deliberately left out.

The practical consequence: a request that validates against these specs is one you can build on. The reverse does not hold. The server may accept a payload no spec describes, and that payload may be ignored or rejected later.

Extensions

Alongside standard OpenAPI, the documents carry x- extensions that Celigo tooling reads. Standard OpenAPI consumers can ignore them; validators and AI agents may find them useful.

ExtensionWhereMeaning
x-enumDescriptionsFields with enumOne line per enum value explaining what it does.
x-celigo-refModelID fieldsThe resource type the ID points at (flows, scripts, and so on).
x-celigo-ai-guidanceSchemas and fieldsOperational hints for AI agents: which default to choose, what to set when scaffolding, and the concrete failure that results from getting it wrong.
x-celigo-ui-overrideSchemas and fieldsMarks a requirement or default that mirrors the integrator.io form, which is stricter than the raw API, so generated configurations are complete and connectable.
x-celigo-agentExpression fieldsThe field's value is authored in an expression language or editor; its capability tags (handlebars, sql, mapping, …) tell an agent or tool which one.
x-celigo-handlebars-contextHandlebars fieldsThe data context the expression is evaluated against, such as pre-mapped or post-mapped.
x-celigo-excludeAdaptorTypesShared adaptor fieldsAdaptor types the field does not apply to.
x-lowercase, x-uppercaseString fieldsThe API normalizes the value's case on save.

x-internal, x-enable-proxy, and x-displayName control the documentation toolchain and carry no API meaning.

Support

For a problem with the specs — a schema that disagrees with the API, a missing field or endpoint, a description that led you somewhere wrong — or with integrator.io itself, contact Celigo Support. The most useful report names the spec and operation, shows the request you made, and shows what the API returned next to what the spec said it would. Never include API tokens, credentials, or customer data.

Report a suspected security vulnerability through the same channel, privately, with the spec and operation involved, what it discloses or enables, and reproduction steps.

License

MIT. The LICENSE file ships in the package. The specs describe the integrator.io API; use of the API itself is governed by your Celigo agreement.

版本与发布记录

@celigo/api-specs 共发布 280 个版本,首次发布于 2026/09/01;过去 12 个月发布了 280 个版本。

版本发布日期距今
0.2.274latest2026/11/09今天
0.2.2732026/11/09今天
0.2.2722026/11/081 天前
0.2.2712026/11/072 天前
0.2.2702026/11/072 天前
0.2.2692026/11/072 天前

关于 @celigo/api-specs 的常见问题

@celigo/api-specs 是什么?

Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).

如何安装 @celigo/api-specs?

在项目目录运行 npm install @celigo/api-specs,或使用 pnpm add / yarn add / bun add。

@celigo/api-specs 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/celigo__api-specs 是否存在。

@celigo/api-specs 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@celigo/api-specs 可以商用吗?

@celigo/api-specs 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@celigo/api-specs 的下载量有多少?

根据 npm 官方下载统计,@celigo/api-specs 在 2026/10/10 – 2026/11/08 这 30 天内被下载 31,501 次,日均约 1,050 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@celigo/api-specs 还在维护吗?

最新版本 0.2.274 发布于 2026/11/09(今天);至今共发布 280 个版本,其中过去 12 个月发布了 280 个;首次发布于 2026/09/01。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。