V0.38.4 full composition (#237)

Co-authored-by: gobha <jasafpro@gmail.com>
Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
2026-03-25 17:29:08 +00:00
committed by xcaliber
parent fe5894b6e2
commit 495bcc94f4
17 changed files with 943 additions and 39 deletions

View File

@@ -8888,6 +8888,31 @@ paths:
$ref: '#/components/schemas/ExtDependency'
'401':
$ref: '#/components/responses/Unauthorized'
# ── Connection Type Discovery (v0.38.4) ─────────────────────────────
/api/v1/connection-types:
get:
tags: [Extensions]
summary: List available connection types
description: |
Returns merged connection types from all active packages.
Library declarations take precedence over non-library declarations.
Any authenticated user can call this endpoint.
security:
- bearerAuth: []
responses:
'200':
description: Connection type list
content:
application/json:
schema:
type: object
properties:
data:
type: array
items:
$ref: '#/components/schemas/ConnectionType'
'401':
$ref: '#/components/responses/Unauthorized'
# ── Extension Connections (v0.38.1) ─────────────────────────────────
/api/v1/connections:
get:
@@ -12334,6 +12359,39 @@ components:
updated_at:
type: string
format: date-time
ConnectionType:
type: object
description: "v0.38.4: Available connection type from an installed package"
properties:
type:
type: string
description: Connection type identifier (e.g. gitea, slack)
label:
type: string
description: Human-readable label
package_id:
type: string
description: Package that declares this connection type
package_title:
type: string
description: Title of the declaring package
fields:
type: object
description: Field definitions (name → {type, required, label})
additionalProperties:
type: object
properties:
type:
type: string
required:
type: string
label:
type: string
scopes:
type: array
items:
type: string
description: Allowed scopes (global, team, personal)
ExtDependency:
type: object
description: "v0.38.2: Package dependency record (consumer → library)"