feat: 添加媒体资源软删除API接口及相关文档
This commit is contained in:
@@ -2002,6 +2002,31 @@ paths:
|
||||
tags:
|
||||
- Tenant
|
||||
/t/{tenantCode}/v1/admin/media_assets/{assetID}:
|
||||
delete:
|
||||
consumes:
|
||||
- application/json
|
||||
parameters:
|
||||
- description: Tenant Code
|
||||
in: path
|
||||
name: tenantCode
|
||||
required: true
|
||||
type: string
|
||||
- description: AssetID
|
||||
format: int64
|
||||
in: path
|
||||
name: assetID
|
||||
required: true
|
||||
type: integer
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/models.MediaAsset'
|
||||
summary: 删除媒体资源(租户管理,软删)
|
||||
tags:
|
||||
- Tenant
|
||||
get:
|
||||
consumes:
|
||||
- application/json
|
||||
|
||||
Reference in New Issue
Block a user