Skip to content

docs: require user for file upload API (#794) (backport to release/1.14.1)#799

Merged
RiskeyL merged 1 commit into
release/1.14.1from
backport/release/1.14.1/pr-794
May 28, 2026
Merged

docs: require user for file upload API (#794) (backport to release/1.14.1)#799
RiskeyL merged 1 commit into
release/1.14.1from
backport/release/1.14.1/pr-794

Conversation

@RiskeyL
Copy link
Copy Markdown
Contributor

@RiskeyL RiskeyL commented May 28, 2026

Backport

This will backport the following commits from main to release/1.14.1:

* docs(api-reference): require user for file upload

Mark the user form field as required for the shared files/upload Service API endpoint in chat, chatflow, completion, and workflow specs.

Update the field description to clarify that Service API conversations are separate from WebApp conversations.

* docs(api-reference): clarify file upload user field and sync zh/ja

---------

Co-authored-by: RiskeyL <7a8y@163.com>
(cherry picked from commit 9b82c3e)
Copilot AI review requested due to automatic review settings May 28, 2026 04:51
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. documentation Improvements or additions to documentation labels May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This backport updates localized OpenAPI specs so the /files/upload Service API contract consistently documents user as required and clarifies that Service API and WebApp user IDs are separate.

Changes:

  • Adds user to the required multipart form fields for file uploads.
  • Updates the user field description in English, Japanese, and Chinese API references.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
en/api-reference/openapi_chat.json Marks upload user required and clarifies ID semantics.
en/api-reference/openapi_chatflow.json Marks upload user required and clarifies ID semantics.
en/api-reference/openapi_completion.json Marks upload user required and clarifies ID semantics.
en/api-reference/openapi_workflow.json Marks upload user required and clarifies ID semantics.
ja/api-reference/openapi_chat.json Applies the same upload schema update in Japanese.
ja/api-reference/openapi_chatflow.json Applies the same upload schema update in Japanese.
ja/api-reference/openapi_completion.json Applies the same upload schema update in Japanese.
ja/api-reference/openapi_workflow.json Applies the same upload schema update in Japanese.
zh/api-reference/openapi_chat.json Applies the same upload schema update in Chinese.
zh/api-reference/openapi_chatflow.json Applies the same upload schema update in Chinese.
zh/api-reference/openapi_completion.json Applies the same upload schema update in Chinese.
zh/api-reference/openapi_workflow.json Applies the same upload schema update in Chinese.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RiskeyL RiskeyL merged commit d781166 into release/1.14.1 May 28, 2026
7 checks passed
@RiskeyL RiskeyL deleted the backport/release/1.14.1/pr-794 branch May 28, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants