From c2ad6621b37b1ebade1e20984bcfd69f87c87e22 Mon Sep 17 00:00:00 2001 From: RiskeyL <7a8y@163.com> Date: Mon, 1 Jun 2026 19:39:10 +0800 Subject: [PATCH] fix: use absolute server URL in API reference specs --- en/api-reference/openapi_chat.json | 8 ++++---- en/api-reference/openapi_chatflow.json | 8 ++++---- en/api-reference/openapi_completion.json | 8 ++++---- en/api-reference/openapi_knowledge.json | 10 +++++----- en/api-reference/openapi_workflow.json | 8 ++++---- ja/api-reference/openapi_chat.json | 8 ++++---- ja/api-reference/openapi_chatflow.json | 8 ++++---- ja/api-reference/openapi_completion.json | 8 ++++---- ja/api-reference/openapi_knowledge.json | 10 +++++----- ja/api-reference/openapi_workflow.json | 8 ++++---- zh/api-reference/openapi_chat.json | 8 ++++---- zh/api-reference/openapi_chatflow.json | 8 ++++---- zh/api-reference/openapi_completion.json | 8 ++++---- zh/api-reference/openapi_knowledge.json | 10 +++++----- zh/api-reference/openapi_workflow.json | 8 ++++---- 15 files changed, 63 insertions(+), 63 deletions(-) diff --git a/en/api-reference/openapi_chat.json b/en/api-reference/openapi_chat.json index e70a76ae7..8a4c4dc0a 100644 --- a/en/api-reference/openapi_chat.json +++ b/en/api-reference/openapi_chat.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "The base URL for the Chat App API. Replace {api_base_url} with the actual API base URL provided for your application.", + "url": "https://{api_base_url}", + "description": "Base URL of the Chat App API. For self-hosted deployments, replace it with your own API base URL.", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "Actual base URL of the API" + "default": "api.dify.ai/v1", + "description": "Host and path of the API base URL, without the `https://` prefix." } } } diff --git a/en/api-reference/openapi_chatflow.json b/en/api-reference/openapi_chatflow.json index d83471bab..6562a53be 100644 --- a/en/api-reference/openapi_chatflow.json +++ b/en/api-reference/openapi_chatflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "The base URL for the Chatflow App API. Replace {api_base_url} with the actual API base URL provided for your application.", + "url": "https://{api_base_url}", + "description": "Base URL of the Chatflow App API. For self-hosted deployments, replace it with your own API base URL.", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "Actual base URL of the API" + "default": "api.dify.ai/v1", + "description": "Host and path of the API base URL, without the `https://` prefix." } } } diff --git a/en/api-reference/openapi_completion.json b/en/api-reference/openapi_completion.json index fa2276c9d..63c4020f5 100644 --- a/en/api-reference/openapi_completion.json +++ b/en/api-reference/openapi_completion.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "The base URL for the Completion App API. Replace {api_base_url} with the actual API base URL provided for your application.", + "url": "https://{api_base_url}", + "description": "Base URL of the Completion App API. For self-hosted deployments, replace it with your own API base URL.", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "Actual base URL of the API" + "default": "api.dify.ai/v1", + "description": "Host and path of the API base URL, without the `https://` prefix." } } } diff --git a/en/api-reference/openapi_knowledge.json b/en/api-reference/openapi_knowledge.json index 14e1d8258..0fea4fdfe 100644 --- a/en/api-reference/openapi_knowledge.json +++ b/en/api-reference/openapi_knowledge.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{apiBaseUrl}", - "description": "The base URL for the Knowledge API.", + "url": "https://{api_base_url}", + "description": "Base URL of the Knowledge API. For self-hosted deployments, replace it with your own API base URL.", "variables": { - "apiBaseUrl": { - "default": "https://api.dify.ai/v1", - "description": "Actual base URL of the API" + "api_base_url": { + "default": "api.dify.ai/v1", + "description": "Host and path of the API base URL, without the `https://` prefix." } } } diff --git a/en/api-reference/openapi_workflow.json b/en/api-reference/openapi_workflow.json index 7a114b4f1..0c8b4f067 100644 --- a/en/api-reference/openapi_workflow.json +++ b/en/api-reference/openapi_workflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "The base URL for the Workflow App API. Replace {api_base_url} with the actual API base URL.", + "url": "https://{api_base_url}", + "description": "Base URL of the Workflow App API. For self-hosted deployments, replace it with your own API base URL.", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "Actual base URL of the API" + "default": "api.dify.ai/v1", + "description": "Host and path of the API base URL, without the `https://` prefix." } } } diff --git a/ja/api-reference/openapi_chat.json b/ja/api-reference/openapi_chat.json index 9fea37a16..a3443dc14 100644 --- a/ja/api-reference/openapi_chat.json +++ b/ja/api-reference/openapi_chat.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "チャットアプリ API のベース URL です。{api_base_url} をアプリケーションに提供された実際の API ベース URL に置き換えてください。", + "url": "https://{api_base_url}", + "description": "チャットアプリ API のベース URL です。セルフホスト環境では、独自の API ベース URL に置き換えてください。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API の実際のベース URL" + "default": "api.dify.ai/v1", + "description": "API ベース URL のホストとパス(`https://` を除く)。" } } } diff --git a/ja/api-reference/openapi_chatflow.json b/ja/api-reference/openapi_chatflow.json index 96f81deda..5e23a736f 100644 --- a/ja/api-reference/openapi_chatflow.json +++ b/ja/api-reference/openapi_chatflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "Chatflow アプリ API のベース URL です。{api_base_url} をアプリケーションに提供された実際の API ベース URL に置き換えてください。", + "url": "https://{api_base_url}", + "description": "Chatflow アプリ API のベース URL です。セルフホスト環境では、独自の API ベース URL に置き換えてください。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API の実際のベース URL" + "default": "api.dify.ai/v1", + "description": "API ベース URL のホストとパス(`https://` を除く)。" } } } diff --git a/ja/api-reference/openapi_completion.json b/ja/api-reference/openapi_completion.json index 85c28eb55..d6552242e 100644 --- a/ja/api-reference/openapi_completion.json +++ b/ja/api-reference/openapi_completion.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "テキスト生成アプリ API のベース URL です。{api_base_url} をアプリケーションに提供された実際の API ベース URL に置き換えてください。", + "url": "https://{api_base_url}", + "description": "テキスト生成アプリ API のベース URL です。セルフホスト環境では、独自の API ベース URL に置き換えてください。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API の実際のベース URL" + "default": "api.dify.ai/v1", + "description": "API ベース URL のホストとパス(`https://` を除く)。" } } } diff --git a/ja/api-reference/openapi_knowledge.json b/ja/api-reference/openapi_knowledge.json index 9d9d9c654..eb44de095 100644 --- a/ja/api-reference/openapi_knowledge.json +++ b/ja/api-reference/openapi_knowledge.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{apiBaseUrl}", - "description": "Knowledge API のベース URL です。", + "url": "https://{api_base_url}", + "description": "Knowledge API のベース URL です。セルフホスト環境では、独自の API ベース URL に置き換えてください。", "variables": { - "apiBaseUrl": { - "default": "https://api.dify.ai/v1", - "description": "API の実際のベース URL" + "api_base_url": { + "default": "api.dify.ai/v1", + "description": "API ベース URL のホストとパス(`https://` を除く)。" } } } diff --git a/ja/api-reference/openapi_workflow.json b/ja/api-reference/openapi_workflow.json index a675327d9..c6b877282 100644 --- a/ja/api-reference/openapi_workflow.json +++ b/ja/api-reference/openapi_workflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "Workflow App API のベース URL です。{api_base_url} を実際の API ベース URL に置き換えてください。", + "url": "https://{api_base_url}", + "description": "Workflow App API のベース URL です。セルフホスト環境では、独自の API ベース URL に置き換えてください。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API の実際のベース URL" + "default": "api.dify.ai/v1", + "description": "API ベース URL のホストとパス(`https://` を除く)。" } } } diff --git a/zh/api-reference/openapi_chat.json b/zh/api-reference/openapi_chat.json index 1c5581725..de03c658c 100644 --- a/zh/api-reference/openapi_chat.json +++ b/zh/api-reference/openapi_chat.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "对话型应用 API 的基础 URL。请将 {api_base_url} 替换为你的应用实际提供的 API 基础 URL。", + "url": "https://{api_base_url}", + "description": "对话型应用 API 的基础 URL。自托管部署时,替换为你的 API 基础 URL。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API 的实际基础 URL" + "default": "api.dify.ai/v1", + "description": "API 基础 URL 的主机与路径,不含 `https://` 前缀。" } } } diff --git a/zh/api-reference/openapi_chatflow.json b/zh/api-reference/openapi_chatflow.json index 818135278..5c157398b 100644 --- a/zh/api-reference/openapi_chatflow.json +++ b/zh/api-reference/openapi_chatflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "工作流编排对话型应用 API 的基础 URL。请将 {api_base_url} 替换为你的应用实际提供的 API 基础 URL。", + "url": "https://{api_base_url}", + "description": "工作流编排对话型应用 API 的基础 URL。自托管部署时,替换为你的 API 基础 URL。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API 的实际基础 URL" + "default": "api.dify.ai/v1", + "description": "API 基础 URL 的主机与路径,不含 `https://` 前缀。" } } } diff --git a/zh/api-reference/openapi_completion.json b/zh/api-reference/openapi_completion.json index c81d75608..8fac329ae 100644 --- a/zh/api-reference/openapi_completion.json +++ b/zh/api-reference/openapi_completion.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "文本生成型应用 API 的基础 URL。请将 {api_base_url} 替换为你的应用实际提供的 API 基础 URL。", + "url": "https://{api_base_url}", + "description": "文本生成型应用 API 的基础 URL。自托管部署时,替换为你的 API 基础 URL。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API 的实际基础 URL" + "default": "api.dify.ai/v1", + "description": "API 基础 URL 的主机与路径,不含 `https://` 前缀。" } } } diff --git a/zh/api-reference/openapi_knowledge.json b/zh/api-reference/openapi_knowledge.json index 0894734ed..4bc4405c8 100644 --- a/zh/api-reference/openapi_knowledge.json +++ b/zh/api-reference/openapi_knowledge.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{apiBaseUrl}", - "description": "Knowledge API 的基础 URL。", + "url": "https://{api_base_url}", + "description": "Knowledge API 的基础 URL。自托管部署时,替换为你的 API 基础 URL。", "variables": { - "apiBaseUrl": { - "default": "https://api.dify.ai/v1", - "description": "API 的实际基础 URL" + "api_base_url": { + "default": "api.dify.ai/v1", + "description": "API 基础 URL 的主机与路径,不含 `https://` 前缀。" } } } diff --git a/zh/api-reference/openapi_workflow.json b/zh/api-reference/openapi_workflow.json index 40b07ebc9..5b011f3f5 100644 --- a/zh/api-reference/openapi_workflow.json +++ b/zh/api-reference/openapi_workflow.json @@ -7,12 +7,12 @@ }, "servers": [ { - "url": "{api_base_url}", - "description": "工作流应用 API 的基础 URL。将 {api_base_url} 替换为实际的 API 基础 URL。", + "url": "https://{api_base_url}", + "description": "工作流应用 API 的基础 URL。自托管部署时,替换为你的 API 基础 URL。", "variables": { "api_base_url": { - "default": "https://api.dify.ai/v1", - "description": "API 的实际基础 URL" + "default": "api.dify.ai/v1", + "description": "API 基础 URL 的主机与路径,不含 `https://` 前缀。" } } }