feat: 添加媒体资源软删除API接口及相关文档

This commit is contained in:
2025-12-22 17:25:03 +08:00
parent bcee0e06fe
commit 70bba28492
8 changed files with 397 additions and 0 deletions

View File

@@ -1125,6 +1125,43 @@
}
}
}
},
"delete": {
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Tenant"
],
"summary": "删除媒体资源(租户管理,软删)",
"parameters": [
{
"type": "string",
"description": "Tenant Code",
"name": "tenantCode",
"in": "path",
"required": true
},
{
"type": "integer",
"format": "int64",
"description": "AssetID",
"name": "assetID",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/models.MediaAsset"
}
}
}
}
},
"/t/{tenantCode}/v1/admin/media_assets/{assetID}/upload_complete": {