@celigo/api-specs 0.2.302 → 0.2.303

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.
@@ -32,7 +32,9 @@ tags:
32
32
  Integrations support **Integration Lifecycle Management (ILM)**: revisions (snapshot,
33
33
  pull, revert) promote changes between an integration and its lifecycle-linked clones,
34
34
  and carry every resource the integration contains. Only the UI's clone-and-install
35
- links a clone; `POST /v1/integrations/{_id}/clone` makes a standalone copy.
35
+ links a clone; `POST /v1/integrations/{_id}/clone` makes a standalone copy. An Integration
36
+ App installation is the exception: every route that reads its revisions answers 400
37
+ `not_supported`.
36
38
 
37
39
  ## Integration schema
38
40
 
@@ -601,6 +603,7 @@ paths:
601
603
  An integration with no revision history returns an empty response (204), not `[]`.
602
604
  x-celigo-ai-guidance:
603
605
  - To roll back a pull, find its revision here (its diff shows what it changed) and have the user revert it in the integration's Revisions tab with **Revert to before this revision**. The API can't start a revert, and writing old values back to the resources by hand misses what the pull created or deleted and records no revert.
606
+ - Revisions can't be read for an integration that carries `_connectorId` (an Integration App installation). This route and the revision, diff and errors routes answer 400 `not_supported` for one, whether or not its install is finished, so don't retry it. An integration without `_connectorId` whose `installSteps` hold a step with `completed` false is refused on the same four routes with 400 `invalid_integration_state`, while a marketplace template install whose steps are all completed is served.
604
607
  parameters:
605
608
  - name: _id
606
609
  in: path
@@ -640,14 +643,33 @@ paths:
640
643
  description: No revisions exist for this integration.
641
644
  '400':
642
645
  description: |-
643
- The integration belongs to another environment of the account than the one the token
644
- acts in. `GET /v1/integrations/{_id}` answers 404 for the same id; an id that exists in no
645
- environment answers 404 here too.
646
+ Error code `not_supported` means the integration is an Integration App installation (it
647
+ carries `_connectorId`). A marketplace template install is not one, though the message
648
+ names templates.
649
+
650
+ Error code `invalid_integration_state` means an install step is not completed (`completed`
651
+ false in `installSteps`).
652
+
653
+ Error code `invalid_environment_for_integration` means the integration belongs to another
654
+ environment of the account than the one the token acts in. `GET /v1/integrations/{_id}`
655
+ answers 404 for the same id; an id that exists in no environment answers 404 here too.
646
656
  content:
647
657
  application/json:
648
658
  schema:
649
659
  $ref: '#/components/schemas/Error'
650
660
  examples:
661
+ integration_app:
662
+ summary: Integration App installation
663
+ value:
664
+ errors:
665
+ - message: This operation is not supported for IAs or marketplace templates right now.
666
+ code: not_supported
667
+ install_unfinished:
668
+ summary: Integration with an install step not completed
669
+ value:
670
+ errors:
671
+ - message: Failed to perform operation. Integration is in an invalid state
672
+ code: invalid_integration_state
651
673
  other_environment:
652
674
  summary: Integration from another environment
653
675
  value:
@@ -715,13 +737,34 @@ paths:
715
737
  lastModified: '2026-06-10T02:57:51.483Z'
716
738
  '400':
717
739
  description: |-
718
- The integration belongs to another environment of the account than the one the token
719
- acts in. The environment is checked before the revision is looked up.
740
+ Error code `not_supported` means the integration is an Integration App installation (it
741
+ carries `_connectorId`). A marketplace template install is not one, though the message
742
+ names templates.
743
+
744
+ Error code `invalid_integration_state` means an install step is not completed (`completed`
745
+ false in `installSteps`).
746
+
747
+ Error code `invalid_environment_for_integration` means the integration belongs to another
748
+ environment of the account than the one the token acts in.
749
+
750
+ All three are checked before the revision is looked up.
720
751
  content:
721
752
  application/json:
722
753
  schema:
723
754
  $ref: '#/components/schemas/Error'
724
755
  examples:
756
+ integration_app:
757
+ summary: Integration App installation
758
+ value:
759
+ errors:
760
+ - message: This operation is not supported for IAs or marketplace templates right now.
761
+ code: not_supported
762
+ install_unfinished:
763
+ summary: Integration with an install step not completed
764
+ value:
765
+ errors:
766
+ - message: Failed to perform operation. Integration is in an invalid state
767
+ code: invalid_integration_state
725
768
  other_environment:
726
769
  summary: Integration from another environment
727
770
  value:
@@ -748,6 +791,11 @@ paths:
748
791
  A standalone copy made with `POST /v1/integrations/{_id}/clone` can't be snapshotted: it isn't
749
792
  lifecycle-linked to its source, so the request fails with 422 `lifecycleerror`. Snapshot the
750
793
  source integration instead.
794
+
795
+ An Integration App installation (an integration that carries `_connectorId`) can't be
796
+ snapshotted either: the check every revision route runs first refuses one with 400
797
+ `not_supported` (source-only on this route: live-verified on the four routes that read
798
+ revisions, not yet confirmed with a snapshot request).
751
799
  parameters:
752
800
  - name: _id
753
801
  in: path
@@ -794,7 +842,31 @@ paths:
794
842
  createdAt: '2026-06-10T02:57:51.483Z'
795
843
  lastModified: '2026-06-10T02:57:51.483Z'
796
844
  '400':
797
- $ref: '#/components/responses/400-bad-request'
845
+ description: |-
846
+ The request is malformed, or the integration is refused by the check every revision route
847
+ runs first. That check answers `not_supported` for an Integration App installation (an
848
+ integration that carries `_connectorId`; a marketplace template install is not refused,
849
+ though the message names templates) and `invalid_integration_state` for an integration
850
+ with an install step not completed. On this route the `not_supported` refusal is
851
+ source-only: live-verified on the four routes that read revisions, not yet confirmed with
852
+ a snapshot request.
853
+ content:
854
+ application/json:
855
+ schema:
856
+ $ref: '#/components/schemas/Error'
857
+ examples:
858
+ integration_app:
859
+ summary: Integration App installation
860
+ value:
861
+ errors:
862
+ - message: This operation is not supported for IAs or marketplace templates right now.
863
+ code: not_supported
864
+ install_unfinished:
865
+ summary: Integration with an install step not completed
866
+ value:
867
+ errors:
868
+ - message: Failed to perform operation. Integration is in an invalid state
869
+ code: invalid_integration_state
798
870
  '401':
799
871
  $ref: '#/components/responses/401-unauthorized'
800
872
  '404':
@@ -877,9 +949,9 @@ paths:
877
949
  `GET /v1/integrations/{_id}/revisions/{_revisionId}/errors` instead), and
878
950
  `inprogress` revisions whose install steps haven't materialized yet.
879
951
 
880
- Error code `invalid_environment_for_integration` means the integration belongs to another
881
- environment of the account than the one the token acts in. That check runs before the
882
- revision is looked up.
952
+ The integration is checked before the revision: `not_supported` (an Integration App
953
+ installation), `invalid_integration_state` (an install step not completed),
954
+ `invalid_environment_for_integration` (another environment than the token's).
883
955
  content:
884
956
  application/json:
885
957
  schema:
@@ -890,6 +962,18 @@ paths:
890
962
  errors:
891
963
  - message: Failed to perform operation. Revision is in an invalid state
892
964
  code: invalid_revision_state
965
+ integration_app:
966
+ summary: Integration App installation
967
+ value:
968
+ errors:
969
+ - message: This operation is not supported for IAs or marketplace templates right now.
970
+ code: not_supported
971
+ install_unfinished:
972
+ summary: Integration with an install step not completed
973
+ value:
974
+ errors:
975
+ - message: Failed to perform operation. Integration is in an invalid state
976
+ code: invalid_integration_state
893
977
  other_environment:
894
978
  summary: Integration from another environment
895
979
  value:
@@ -971,9 +1055,11 @@ paths:
971
1055
  `invalid_revision_state` — returned for `completed`, `canceled`, and `inprogress` revisions
972
1056
  of every type, including snapshots.
973
1057
 
974
- Error code `invalid_environment_for_integration` means the integration belongs to another
975
- environment of the account than the one the token acts in. That check runs before the
976
- revision is looked up.
1058
+ Three checks on the integration run before the revision is looked up: `not_supported` for
1059
+ an Integration App installation (it carries `_connectorId`), `invalid_integration_state`
1060
+ for an install step not completed (`completed` false in `installSteps`), and
1061
+ `invalid_environment_for_integration` for an integration in another environment of the
1062
+ account than the one the token acts in.
977
1063
  content:
978
1064
  application/json:
979
1065
  schema:
@@ -984,6 +1070,18 @@ paths:
984
1070
  errors:
985
1071
  - message: Failed to perform operation. Revision is in an invalid state
986
1072
  code: invalid_revision_state
1073
+ integration_app:
1074
+ summary: Integration App installation
1075
+ value:
1076
+ errors:
1077
+ - message: This operation is not supported for IAs or marketplace templates right now.
1078
+ code: not_supported
1079
+ install_unfinished:
1080
+ summary: Integration with an install step not completed
1081
+ value:
1082
+ errors:
1083
+ - message: Failed to perform operation. Integration is in an invalid state
1084
+ code: invalid_integration_state
987
1085
  other_environment:
988
1086
  summary: Integration from another environment
989
1087
  value:
@@ -6935,6 +6935,39 @@ components:
6935
6935
  an OAuth 2.0 client."). An update that omits it keeps the stored mode.
6936
6936
  examples:
6937
6937
  - automatic
6938
+ registration:
6939
+ type: object
6940
+ readOnly: true
6941
+ description: |-
6942
+ Client registration discovered for an `automatic` connection. The server writes it,
6943
+ together with the discovered `authURI`, `tokenURI`, `scope`, and `scopeDelimiter`, when
6944
+ the authorization URL is requested (`GET /v1/connection/{_id}/oauth2`); a connection
6945
+ that has only been saved carries none. A value sent on write is ignored.
6946
+ properties:
6947
+ method:
6948
+ type: string
6949
+ enum:
6950
+ - cimd
6951
+ x-enumDescriptions:
6952
+ cimd: Client ID Metadata Document; the client id is a public URL and there is no client secret.
6953
+ description: How integrator.io identifies itself to the MCP server's authorization server.
6954
+ examples:
6955
+ - cimd
6956
+ issuer:
6957
+ type: string
6958
+ description: Issuer identifier the MCP server's authorization server publishes in its metadata.
6959
+ examples:
6960
+ - https://auth.example.com
6961
+ issParameterSupported:
6962
+ type: boolean
6963
+ description: When true, the authorization server's metadata declares that it sends `iss` on authorization responses.
6964
+ examples:
6965
+ - true
6966
+ clientId:
6967
+ type: string
6968
+ description: Metadata document URL sent as `client_id` in the authorization URL.
6969
+ examples:
6970
+ - https://integrator.io/oidc/mcp-client-metadata
6938
6971
  if:
6939
6972
  properties:
6940
6973
  grantType:
package/dist/tool.yml CHANGED
@@ -9231,6 +9231,39 @@ components:
9231
9231
  an OAuth 2.0 client."). An update that omits it keeps the stored mode.
9232
9232
  examples:
9233
9233
  - automatic
9234
+ registration:
9235
+ type: object
9236
+ readOnly: true
9237
+ description: |-
9238
+ Client registration discovered for an `automatic` connection. The server writes it,
9239
+ together with the discovered `authURI`, `tokenURI`, `scope`, and `scopeDelimiter`, when
9240
+ the authorization URL is requested (`GET /v1/connection/{_id}/oauth2`); a connection
9241
+ that has only been saved carries none. A value sent on write is ignored.
9242
+ properties:
9243
+ method:
9244
+ type: string
9245
+ enum:
9246
+ - cimd
9247
+ x-enumDescriptions:
9248
+ cimd: Client ID Metadata Document; the client id is a public URL and there is no client secret.
9249
+ description: How integrator.io identifies itself to the MCP server's authorization server.
9250
+ examples:
9251
+ - cimd
9252
+ issuer:
9253
+ type: string
9254
+ description: Issuer identifier the MCP server's authorization server publishes in its metadata.
9255
+ examples:
9256
+ - https://auth.example.com
9257
+ issParameterSupported:
9258
+ type: boolean
9259
+ description: When true, the authorization server's metadata declares that it sends `iss` on authorization responses.
9260
+ examples:
9261
+ - true
9262
+ clientId:
9263
+ type: string
9264
+ description: Metadata document URL sent as `client_id` in the authorization URL.
9265
+ examples:
9266
+ - https://integrator.io/oidc/mcp-client-metadata
9234
9267
  if:
9235
9268
  properties:
9236
9269
  grantType:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.302",
3
+ "version": "0.2.303",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [