Skip to content

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

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

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

Copilot AI review requested due to automatic review settings May 28, 2026 04:51
* 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)
@RiskeyL RiskeyL force-pushed the backport/release/1.14.0/pr-794 branch from 9cca6e1 to cd97397 Compare 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

Backports the documentation change that makes the user field required for the shared /files/upload multipart request schema across chat, chatflow, completion, and workflow OpenAPI specs, aligning the file upload contract across app API references.

Changes:

  • Mark user as required alongside file in /files/upload request schemas.
  • Expand the user field description to clarify per-app uniqueness and that Service API and WebApp user IDs are separate.
  • Apply the same update across EN/JA/ZH OpenAPI JSON files for consistency.

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

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

@RiskeyL RiskeyL merged commit 33d9ed0 into release/1.14.0 May 28, 2026
4 checks passed
@RiskeyL RiskeyL deleted the backport/release/1.14.0/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