mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-07-22 04:15:24 -04:00
[PR #435] [MERGED] Add file-preview API to OpenAPI specifications #503
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-docs/pull/435
Author: @lyzno1
Created: 8/23/2025
Status: ✅ Merged
Merged: 9/5/2025
Merged by: @crazywoola
Base:
main← Head:feat/add-file-preview-api📝 Commits (3)
5056d7cfeat(en): add file-preview API to OpenAPI specificationsbc15563feat(ja-jp): add file-preview API to Japanese OpenAPI specifications3e6e7bffeat(zh-hans): add file-preview API to Chinese OpenAPI specifications📊 Changes
9 files changed (+1206 additions, -9 deletions)
View changed files
📝
en/openapi_chat.json(+134 -1)📝
en/openapi_chatflow.json(+134 -1)📝
en/openapi_workflow.json(+134 -1)📝
ja-jp/openapi_chat.json(+134 -1)📝
ja-jp/openapi_chatflow.json(+134 -1)📝
ja-jp/openapi_workflow.json(+134 -1)📝
zh-hans/openapi_chat.json(+134 -1)📝
zh-hans/openapi_chatflow.json(+134 -1)📝
zh-hans/openapi_workflow.json(+134 -1)📄 Description
Summary
Add the missing
GET /files/{file_id}/previewendpoint to OpenAPI specifications for chat, chatflow, and workflow APIs across all language versions (English, Japanese, Chinese).Changes
as_attachmentquery parameterTest Plan
Fixes #389
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.