anon_get_materials_resource_id_preview
Fetch a material resource's latest preview by resourceId; returns a WebP thumbnail, an inline file stream, or 404 when unavailable.
Instructions
预览资源最新版本。项目成员且通过可见范围校验。取最新版本——有缩略预览时返回 image/webp;无预览但文件 mime 命中内联白名单(位图、PDF、Markdown、常见音视频)时返回原始文件流;否则 404。 GET /api/projects/{id}/materials/{resourceId}/preview 项目由当前 API 密钥自动确定,无需传 projectId。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |