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

@@ -159,6 +159,11 @@ GET {{ host }}/t/{{ tenantCode }}/v1/admin/media_assets/{{ assetID }}
Content-Type: application/json
Authorization: Bearer {{ token }}
### Tenant Admin - MediaAsset delete (soft delete; ready/failed only)
DELETE {{ host }}/t/{{ tenantCode }}/v1/admin/media_assets/{{ assetID }}
Content-Type: application/json
Authorization: Bearer {{ token }}
### Tenant Admin - Attach asset to content (main/cover/preview)
@assetID = 1
POST {{ host }}/t/{{ tenantCode }}/v1/admin/contents/{{ contentID }}/assets