@celigo/api-specs 0.2.317 → 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 +15 -8
- package/dist/flow.yml +1 -1
- package/dist/job.yml +2 -2
- package/package.json +1 -1
- package/schemas.json +1 -1
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
|
|
2369
|
-
|
|
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
|
|
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
|
|
2540
|
-
|
|
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/dist/flow.yml
CHANGED
|
@@ -8528,7 +8528,7 @@ components:
|
|
|
8528
8528
|
and that date's distance from `createdAt` is how long the job is kept. On a `flow`
|
|
8529
8529
|
job the distance is the account's `dataRetentionPeriod` stamped on it at creation —
|
|
8530
8530
|
the earlier period on a job created before a change of the setting or in the hours
|
|
8531
|
-
after
|
|
8531
|
+
after a raise. So the newest job's distance is how far back a `flow` listing reaches only
|
|
8532
8532
|
when the setting has not changed in that time.
|
|
8533
8533
|
- |-
|
|
8534
8534
|
On a `retry` job the distance was 30 days on accounts whose period is 30, 60 or 180,
|
package/dist/job.yml
CHANGED
|
@@ -575,7 +575,7 @@ paths:
|
|
|
575
575
|
_id: 69e83e7a75f7f8c14a12916e
|
|
576
576
|
name: New flow
|
|
577
577
|
'204':
|
|
578
|
-
description: No
|
|
578
|
+
description: No job records match the filter on any flow within the queried window (the ~24-hour default when no `time_gt` was sent). A window older than the flows' job records answers 204 too, whether or not the flows ran in it.
|
|
579
579
|
'400':
|
|
580
580
|
$ref: '#/components/responses/400-bad-request'
|
|
581
581
|
'401':
|
|
@@ -1580,7 +1580,7 @@ components:
|
|
|
1580
1580
|
and that date's distance from `createdAt` is how long the job is kept. On a `flow`
|
|
1581
1581
|
job the distance is the account's `dataRetentionPeriod` stamped on it at creation —
|
|
1582
1582
|
the earlier period on a job created before a change of the setting or in the hours
|
|
1583
|
-
after
|
|
1583
|
+
after a raise. So the newest job's distance is how far back a `flow` listing reaches only
|
|
1584
1584
|
when the setting has not changed in that time.
|
|
1585
1585
|
- |-
|
|
1586
1586
|
On a `retry` job the distance was 30 days on accounts whose period is 30, 60 or 180,
|
package/package.json
CHANGED