feat: 添加媒体资源管理相关API接口及数据结构,包括列表和详情查询
This commit is contained in:
@@ -144,6 +144,21 @@ Authorization: Bearer {{ token }}
|
||||
"sha256": ""
|
||||
}
|
||||
|
||||
### Tenant Admin - MediaAssets list (paged)
|
||||
GET {{ host }}/t/{{ tenantCode }}/v1/admin/media_assets?page=1&limit=20
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{ token }}
|
||||
|
||||
### Tenant Admin - MediaAssets list (filter + sort)
|
||||
GET {{ host }}/t/{{ tenantCode }}/v1/admin/media_assets?page=1&limit=20&type=video&status=processing&created_at_from=2025-01-01T00:00:00Z&created_at_to=2026-01-01T00:00:00Z&asc=created_at&desc=updated_at
|
||||
Content-Type: application/json
|
||||
Authorization: Bearer {{ token }}
|
||||
|
||||
### Tenant Admin - MediaAsset detail
|
||||
GET {{ 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
|
||||
|
||||
Reference in New Issue
Block a user