Skip to content

Commit 73704e7

Browse files
committed
final check and add zh/ja docs
1 parent 69253c7 commit 73704e7

16 files changed

Lines changed: 44515 additions & 7806 deletions

docs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@
677677
"openapi": "zh/api-reference/openapi_chat.json"
678678
},
679679
{
680-
"group": "Chatflow",
680+
"group": "对话流",
681681
"openapi": "zh/api-reference/openapi_chatflow.json"
682682
},
683683
{

en/api-reference/openapi_chat.json

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@
15961596
"/audio-to-text": {
15971597
"post": {
15981598
"summary": "Convert Audio to Text",
1599-
"description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `15 MB`.",
1599+
"description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `30 MB`.",
16001600
"operationId": "chatAudioToText",
16011601
"tags": [
16021602
"TTS"
@@ -1839,40 +1839,6 @@
18391839
}
18401840
}
18411841
},
1842-
"413": {
1843-
"description": "`audio_too_large` : Audio file size exceeded.",
1844-
"content": {
1845-
"application/json": {
1846-
"examples": {
1847-
"audio_too_large": {
1848-
"summary": "audio_too_large",
1849-
"value": {
1850-
"status": 413,
1851-
"code": "audio_too_large",
1852-
"message": "Audio size exceeded."
1853-
}
1854-
}
1855-
}
1856-
}
1857-
}
1858-
},
1859-
"415": {
1860-
"description": "`unsupported_audio_type` : Audio type not allowed.",
1861-
"content": {
1862-
"application/json": {
1863-
"examples": {
1864-
"unsupported_audio_type": {
1865-
"summary": "unsupported_audio_type",
1866-
"value": {
1867-
"status": 415,
1868-
"code": "unsupported_audio_type",
1869-
"message": "Audio type not allowed."
1870-
}
1871-
}
1872-
}
1873-
}
1874-
}
1875-
},
18761842
"500": {
18771843
"description": "`internal_server_error` : Internal server error.",
18781844
"content": {
@@ -2611,8 +2577,7 @@
26112577
"streaming",
26122578
"blocking"
26132579
],
2614-
"default": "blocking",
2615-
"description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes; not supported in Agent Assistant mode). Cloudflare timeout is `100 s`."
2580+
"description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes; not supported in Agent Assistant mode). Cloudflare timeout is `100 s`. When omitted, defaults to blocking behavior."
26162581
},
26172582
"user": {
26182583
"type": "string",
@@ -3816,7 +3781,7 @@
38163781
"file": {
38173782
"type": "string",
38183783
"format": "binary",
3819-
"description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `15 MB`."
3784+
"description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `30 MB`."
38203785
},
38213786
"user": {
38223787
"type": "string",

en/api-reference/openapi_chatflow.json

Lines changed: 890 additions & 118 deletions
Large diffs are not rendered by default.

en/api-reference/openapi_completion.json

Lines changed: 6 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
}
177177
},
178178
"429": {
179-
"description": "- `too_many_requests` : Too many concurrent requests for this app.\n- `rate_limit_error` : The upstream model provider rate limit was exceeded.",
179+
"description": "`too_many_requests` : Too many concurrent requests for this app.",
180180
"content": {
181181
"application/json": {
182182
"examples": {
@@ -187,14 +187,6 @@
187187
"code": "too_many_requests",
188188
"message": "Too many requests. Please try again later."
189189
}
190-
},
191-
"rate_limit_error": {
192-
"summary": "rate_limit_error",
193-
"value": {
194-
"status": 429,
195-
"code": "rate_limit_error",
196-
"message": "Rate Limit Error"
197-
}
198190
}
199191
}
200192
}
@@ -733,7 +725,7 @@
733725
"TTS"
734726
],
735727
"summary": "Convert Audio to Text",
736-
"description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `15 MB`.",
728+
"description": "Convert audio file to text. Supported formats: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. File size limit is `30 MB`.",
737729
"requestBody": {
738730
"required": true,
739731
"content": {
@@ -972,40 +964,6 @@
972964
}
973965
}
974966
},
975-
"413": {
976-
"description": "`audio_too_large` : Audio file size exceeded.",
977-
"content": {
978-
"application/json": {
979-
"examples": {
980-
"audio_too_large": {
981-
"summary": "audio_too_large",
982-
"value": {
983-
"status": 413,
984-
"code": "audio_too_large",
985-
"message": "Audio size exceeded."
986-
}
987-
}
988-
}
989-
}
990-
}
991-
},
992-
"415": {
993-
"description": "`unsupported_audio_type` : Audio type not allowed.",
994-
"content": {
995-
"application/json": {
996-
"examples": {
997-
"unsupported_audio_type": {
998-
"summary": "unsupported_audio_type",
999-
"value": {
1000-
"status": 415,
1001-
"code": "unsupported_audio_type",
1002-
"message": "Audio type not allowed."
1003-
}
1004-
}
1005-
}
1006-
}
1007-
}
1008-
},
1009967
"500": {
1010968
"description": "`internal_server_error` : Internal server error.",
1011969
"content": {
@@ -1269,7 +1227,7 @@
12691227
"type": "http",
12701228
"scheme": "bearer",
12711229
"bearerFormat": "API_KEY",
1272-
"description": "API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with 'Bearer '. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences."
1230+
"description": "API Key authentication. For all API requests, include your API Key in the `Authorization` HTTP Header, prefixed with `Bearer `. Example: `Authorization: Bearer {API_KEY}`. **Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.**"
12731231
}
12741232
},
12751233
"responses": {
@@ -1322,8 +1280,7 @@
13221280
"streaming",
13231281
"blocking"
13241282
],
1325-
"default": "blocking",
1326-
"description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes). Cloudflare timeout is `100 s`."
1283+
"description": "Mode of response return. `streaming` (recommended) uses SSE. `blocking` returns after completion (may be interrupted for long processes). Cloudflare timeout is `100 s`. When omitted, defaults to blocking behavior."
13271284
},
13281285
"user": {
13291286
"type": "string",
@@ -1958,7 +1915,7 @@
19581915
"external_user_id": {
19591916
"type": "string",
19601917
"nullable": true,
1961-
"description": "The `user` identifier provided in API requests (e.g., the `user` field in [Send Chat Message](/api-reference/chats/send-chat-message))."
1918+
"description": "The `user` identifier provided in API requests (e.g., the `user` field in [Send Completion Message](/api-reference/completions/send-completion-message))."
19621919
},
19631920
"name": {
19641921
"type": "string",
@@ -2095,7 +2052,7 @@
20952052
"file": {
20962053
"type": "string",
20972054
"format": "binary",
2098-
"description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `15 MB`."
2055+
"description": "Audio file. Supported: `mp3`, `mp4`, `mpeg`, `mpga`, `m4a`, `wav`, `webm`. Limit: `30 MB`."
20992056
},
21002057
"user": {
21012058
"type": "string",

0 commit comments

Comments
 (0)