feat(api): delete workspace groups and record who signed a content event

This commit is contained in:
justme committed 2026-10-16 18:30:58 +08:00
1 parent 55f1b70d89
commit fc1dc08ebe
11 files changed
+80 -7

No files matched your search

+32 -1
View File
@@ -1,7 +1,7 @@
openapi: 3.1.0
info:
title: WebDrop API
version: 8.0.0
version: 8.1.0
servers:
- url: /api/v1
@@ -291,6 +291,37 @@ paths:
'403': { $ref: '#/components/responses/Error' }
'404': { $ref: '#/components/responses/Error' }
'409': { $ref: '#/components/responses/Error' }
delete:
tags: [channel]
summary: 删除分组;组内频道回到未分组,频道与内容保留
parameters:
- name: id
in: path
required: true
schema: { type: string }
- name: groupId
in: path
required: true
schema: { type: string, format: uuid }
- name: X-WD-Account
in: header
required: true
schema: { type: string }
- $ref: '#/components/parameters/RoleWriter'
- $ref: '#/components/parameters/Account'
- name: Authorization
in: header
schema: { type: string }
responses:
'200':
description: 服务端权威数据
content:
application/json:
schema:
$ref: '../contracts/api.schemas.json#/$defs/WorkspaceBody'
'401': { $ref: '#/components/responses/Error' }
'403': { $ref: '#/components/responses/Error' }
'404': { $ref: '#/components/responses/Error' }
/spaces/{id}/folders:
post:
tags: [channel]