Skip to content

fix: correct the audio-to-text spec and the api reference term (#903) (backport to release/1.16.1) - #905

Merged
RiskeyL merged 1 commit into
release/1.16.1from
backport/release/1.16.1/pr-903
Jul 29, 2026
Merged

fix: correct the audio-to-text spec and the api reference term (#903) (backport to release/1.16.1)#905
RiskeyL merged 1 commit into
release/1.16.1from
backport/release/1.16.1/pr-903

Conversation

@RiskeyL

@RiskeyL RiskeyL commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Backport

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

* fix: correct the audio-to-text errors and SSE example separators

Drop app_unavailable, provider_quota_exceeded and model_currently_not_support
from the /audio-to-text 400 list: no raise site reaches them on the path the
endpoint takes. provider_not_support_speech_to_text stays, since audio_service
raises it when the tenant has no default speech-to-text model. The endpoint
uses the workspace default model, not the app's configured one, so correct
that claim too.

Separate the events in the 10 space-joined SSE examples with blank lines,
matching the wire format the response descriptions already document.

Also render triggered_from's plugin source as Integration Trigger.

* docs: standardize the web app term in the api reference

Same rule as the rest of the docs: web app / Web 应用 / Web アプリ in
prose, capitalized where a sentence starts. The operation title
Get App WebApp Settings is left alone, because Mintlify derives the
published slug /api-reference/applications/get-app-webapp-settings from
it and 18 files link there, as are the getChatWebAppSettings operationId
and the WebAppSettingsResponse schema.

* fix: title-case the web app heading in the end-user identity guide

The heading is Title Case, so the term takes Web App there rather than the body-text lowercase. The anchor is unchanged, since both forms slug to api-users-and-web-app-users-stay-separate.

(cherry picked from commit 791f002)
Copilot AI review requested due to automatic review settings July 29, 2026 05:57
@RiskeyL RiskeyL self-assigned this Jul 29, 2026
@dosubot dosubot Bot added size:M This PR changes 30-99 lines, ignoring generated files. documentation Improvements or additions to documentation labels Jul 29, 2026
@RiskeyL
RiskeyL merged commit bd80c80 into release/1.16.1 Jul 29, 2026
7 checks passed
@RiskeyL
RiskeyL deleted the backport/release/1.16.1/pr-903 branch July 29, 2026 05:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Backports #903 onto release/1.16.1, aligning the Service API OpenAPI spec and guide text with actual runtime behavior for /audio-to-text, correcting SSE (Server-Sent Events) example formatting, and standardizing “web app” terminology across the API reference (EN/ZH/JA).

Changes:

  • Correct /audio-to-text documentation to reflect that it uses the workspace default speech-to-text model, and remove unreachable 400 error codes/examples from the spec.
  • Fix SSE example payload formatting by separating events with blank lines (\n\n) to match the documented wire format.
  • Standardize “web app” terminology in spec descriptions and guide wording (while preserving the Get App WebApp Settings operation title/slug stability).

Reviewed changes

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

Show a summary per file
File Description
en/api-reference/openapi_service.json Updates SSE examples, /audio-to-text spec details, and “web app” wording in API descriptions/schemas.
zh/api-reference/openapi_service.json Mirrors EN spec fixes in Chinese: SSE examples, /audio-to-text corrections, and term updates.
ja/api-reference/openapi_service.json Mirrors EN spec fixes in Japanese: SSE examples, /audio-to-text corrections, and term updates.
en/api-reference/guides/workflow.mdx Updates Human Input delivery terminology (“web app”) and related reference text.
en/api-reference/guides/human-input-flow.mdx Updates Human Input delivery terminology (“web app”).
en/api-reference/guides/end-user-identity.mdx Updates WebApp/user-identity terminology to “Web App”/“web app”.
en/api-reference/guides/completion.mdx Updates “web app” terminology in referenced settings bullet.
en/api-reference/guides/chatflow.mdx Updates Human Input delivery terminology (“web app”) and referenced settings bullet.
en/api-reference/guides/chat.mdx Updates “web app” terminology in conversation isolation + referenced settings bullet.
en/api-reference/guides/agent.mdx Updates “web app” terminology in referenced settings bullet.
zh/api-reference/guides/workflow.mdx Updates Human Input delivery terminology (“Web 应用”) and referenced settings bullet.
zh/api-reference/guides/human-input-flow.mdx Updates Human Input delivery terminology (“Web 应用”).
zh/api-reference/guides/end-user-identity.mdx Updates WebApp/user-identity terminology (“Web 应用”).
zh/api-reference/guides/completion.mdx Updates “Web 应用” terminology in referenced settings bullet.
zh/api-reference/guides/chatflow.mdx Updates Human Input delivery terminology (“Web 应用”) and referenced settings bullet.
zh/api-reference/guides/chat.mdx Updates “Web 应用” terminology in conversation isolation + referenced settings bullet.
zh/api-reference/guides/agent.mdx Updates “Web 应用” terminology in referenced settings bullet.
ja/api-reference/guides/workflow.mdx Updates Human Input delivery terminology (“Web アプリ”) and referenced settings bullet.
ja/api-reference/guides/human-input-flow.mdx Updates Human Input delivery terminology (“Web アプリ”).
ja/api-reference/guides/end-user-identity.mdx Updates WebApp/user-identity terminology (“Web アプリ”).
ja/api-reference/guides/completion.mdx Updates “Web アプリ” terminology in referenced settings bullet.
ja/api-reference/guides/chatflow.mdx Updates Human Input delivery terminology (“Web アプリ”) and referenced settings bullet.
ja/api-reference/guides/chat.mdx Updates “Web アプリ” terminology in conversation isolation + referenced settings bullet.
ja/api-reference/guides/agent.mdx Updates “Web アプリ” terminology in referenced settings bullet.

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

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:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants