feat(admin): 系统渠道 - 增加复制渠道

This commit is contained in:
esncy
2026-09-14 09:31:03 +08:00
parent 9727656b2b
commit 561104ae72
9 changed files with 254 additions and 3 deletions

View File

@@ -22,6 +22,7 @@ tags:
- name: tasks
- name: assets
- name: agent
- name: admin
paths:
/agent/capabilities:
get:
@@ -185,6 +186,24 @@ paths:
application/yaml:
schema:
type: string
/admin/channels/{id}/duplicate:
post:
tags: [admin]
summary: 复制系统渠道
parameters:
- in: path
name: id
required: true
schema: { type: string }
responses:
"200":
$ref: "#/components/responses/Envelope"
"401":
$ref: "#/components/responses/Error"
"403":
$ref: "#/components/responses/Error"
"404":
$ref: "#/components/responses/Error"
/auth/session:
get:
tags: [auth]