Skip to content

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

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

docs: require user for file upload API (#794) (backport to release/1.14.2)#797
RiskeyL merged 1 commit into
release/1.14.2from
backport/release/1.14.2/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.2:

* 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 03:08
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label May 28, 2026
@dosubot dosubot Bot added the documentation Improvements or additions to documentation label 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

Backports documentation updates to release/1.14.2 to make the /files/upload request contract consistent across Chat, Chatflow, Completion, and Workflow API OpenAPI specs by requiring the user field and clarifying its semantics.

Changes:

  • Mark user as a required field (alongside file) in the multipart /files/upload request schema across app API specs.
  • Expand the user field description to clarify uniqueness and that Service API vs WebApp user IDs are independent.
  • Apply the same contract update across EN / ZH / JA OpenAPI reference JSON files.

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
zh/api-reference/openapi_workflow.json Require user for /files/upload and clarify user semantics (ZH).
zh/api-reference/openapi_completion.json Require user for /files/upload and clarify user semantics (ZH).
zh/api-reference/openapi_chatflow.json Require user for /files/upload and clarify user semantics (ZH).
zh/api-reference/openapi_chat.json Require user for /files/upload and clarify user semantics (ZH).
ja/api-reference/openapi_workflow.json Require user for /files/upload and clarify user semantics (JA).
ja/api-reference/openapi_completion.json Require user for /files/upload and clarify user semantics (JA).
ja/api-reference/openapi_chatflow.json Require user for /files/upload and clarify user semantics (JA).
ja/api-reference/openapi_chat.json Require user for /files/upload and clarify user semantics (JA).
en/api-reference/openapi_workflow.json Require user for /files/upload and clarify user semantics (EN).
en/api-reference/openapi_completion.json Require user for /files/upload and clarify user semantics (EN).
en/api-reference/openapi_chatflow.json Require user for /files/upload and clarify user semantics (EN).
en/api-reference/openapi_chat.json Require user for /files/upload and clarify user semantics (EN).

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

@RiskeyL RiskeyL changed the title {commitMessages} (backport to {targetBranch}) docs: require user for file upload API (#794) (backport to release/1.14.2) May 28, 2026
@RiskeyL RiskeyL merged commit bd815d3 into release/1.14.2 May 28, 2026
6 checks passed
@RiskeyL RiskeyL deleted the backport/release/1.14.2/pr-794 branch May 28, 2026 03:55
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