@celigo/api-specs 0.2.318 → 0.2.319

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/api.yml CHANGED
@@ -2364,9 +2364,15 @@ paths:
2364
2364
  Clones a builder-mode API along with the resources it depends on (such as its
2365
2365
  backing import) and returns a manifest of every resource created.
2366
2366
 
2367
+ The clone is always created enabled (`disabled: false`), whatever the source API's
2368
+ `disabled` value. To keep a clone of a disabled API offline, send
2369
+ `PATCH /v1/apis/{_id}` on the clone replacing `/disabled` with `true`.
2370
+
2367
2371
  The request body is required: `version` must be supplied, and the cloned API's
2368
- combination of `version`, `method`, and `relativeURI` must be unique. Reusing all
2369
- three returns a 422 `clone_api_already_exists`. Pass `_integrationId` to create the
2372
+ combination of `version`, `method`, and `relativeURI` must not collide with an enabled
2373
+ API's route — reusing an enabled API's route returns a 422 `clone_api_already_exists`.
2374
+ Disabled APIs, the source included, are not checked, so cloning a disabled API under
2375
+ its own `version` creates an enabled API on the same route. Pass `_integrationId` to create the
2370
2376
  clone inside an integration — when omitted, the clone is created standalone rather
2371
2377
  than inheriting the source API's integration. Add `_apiGroupingId` to file the clone
2372
2378
  under one of that integration's `apiGroupings`.
@@ -2400,8 +2406,8 @@ paths:
2400
2406
  type: string
2401
2407
  description: |-
2402
2408
  Version identifier for the cloned API. The cloned API's combination of
2403
- `version`, `method`, and `relativeURI` must be unique — reusing all three
2404
- returns a 422 `clone_api_already_exists`.
2409
+ `version`, `method`, and `relativeURI` must not collide with an enabled API's
2410
+ route — a collision returns a 422 `clone_api_already_exists`.
2405
2411
  examples:
2406
2412
  - v2
2407
2413
  name:
@@ -2504,7 +2510,7 @@ paths:
2504
2510
  $ref: '#/components/responses/404-not-found'
2505
2511
  '422':
2506
2512
  description: |-
2507
- An API with the same `version`, `method`, and `relativeURI` already exists — clone
2513
+ An enabled API with the same `version`, `method`, and `relativeURI` already exists — clone
2508
2514
  with a different `version` (or change the method/URI) to create a distinct API — or
2509
2515
  `_apiGroupingId` is not one of the target integration's `apiGroupings`.
2510
2516
  content:
@@ -2536,8 +2542,9 @@ paths:
2536
2542
  API to the target `version` would not collide with an existing API route
2537
2543
  — the clone keeps the source API's `method` and `relativeURI`, so the
2538
2544
  target `version` + `method` + `relativeURI` combination must not conflict
2539
- with an API that is already registered in the account. Nothing is created
2540
- or modified.
2545
+ with an enabled API in the target environment. Disabled APIs, the source
2546
+ included, are not checked: the clone is always created enabled, so only
2547
+ enabled routes can collide with it. Nothing is created or modified.
2541
2548
 
2542
2549
  Returns `canClone: true` when the route is free, `false` when it
2543
2550
  conflicts — pick a different `version` before calling
@@ -2588,7 +2595,7 @@ paths:
2588
2595
  description: |-
2589
2596
  When true, the target `version` + `method` + `relativeURI`
2590
2597
  route is free and the clone can be created. When false, the
2591
- route conflicts with an existing API — choose a different
2598
+ route conflicts with an existing enabled API — choose a different
2592
2599
  `version`.
2593
2600
  examples:
2594
2601
  free:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.318",
3
+ "version": "0.2.319",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "1bed7c86",
4
+ "iasCommit": "5a19c283",
5
5
  "generatedAt": "2026-11-19"
6
6
  },
7
7
  "roots": {