feat(connectors): group extensions as platform, integration or agent (#2084)
This commit is contained in:
6 files changed
+176
-26
No files matched your search
@@ -414,6 +414,28 @@ components:
|
||||
- Reversibility
|
||||
- Summary
|
||||
type: object
|
||||
ConnectorsExtensionKind:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
group:
|
||||
enum:
|
||||
- platform
|
||||
- integration
|
||||
- agent
|
||||
type: string
|
||||
kind:
|
||||
description: The API path segment that lists this kind
|
||||
type: string
|
||||
label:
|
||||
type: string
|
||||
singular:
|
||||
type: string
|
||||
required:
|
||||
- kind
|
||||
- label
|
||||
- singular
|
||||
- group
|
||||
type: object
|
||||
ConnectorsExtensionView:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -445,6 +467,12 @@ components:
|
||||
- "null"
|
||||
error:
|
||||
type: string
|
||||
group:
|
||||
enum:
|
||||
- platform
|
||||
- integration
|
||||
- agent
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
path:
|
||||
@@ -469,6 +497,7 @@ components:
|
||||
required:
|
||||
- name
|
||||
- contract
|
||||
- group
|
||||
- state
|
||||
- digest
|
||||
- egress
|
||||
@@ -4117,6 +4146,29 @@ paths:
|
||||
summary: Get an event with its payload and the runs it started
|
||||
tags:
|
||||
- Events
|
||||
/api/extension-kinds:
|
||||
get:
|
||||
operationId: list-extension-kinds
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: "#/components/schemas/ConnectorsExtensionKind"
|
||||
type:
|
||||
- array
|
||||
- "null"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: List the kinds of extension and the group each belongs to
|
||||
tags:
|
||||
- Connectors
|
||||
/api/groups:
|
||||
get:
|
||||
operationId: list-groups
|
||||
|
||||
Reference in new issue
Block a user