Skip to content

Conversation

@RiskeyL
Copy link
Collaborator

@RiskeyL RiskeyL commented Jan 16, 2026

Restore API extension content from the old docs site.

Copilot AI review requested due to automatic review settings January 16, 2026 03:55
@dosubot dosubot bot added the size:XXL This PR changes 1000+ lines, ignoring generated files. label Jan 16, 2026
@dosubot dosubot bot added the documentation Improvements or additions to documentation label Jan 16, 2026
Copy link
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

This pull request restores API extension documentation that was previously available on the old docs site. The changes add comprehensive documentation for API extensions in Dify across three languages (English, Chinese, and Japanese).

Changes:

  • Added API extension documentation covering overview, external data tools, moderation functionality, and Cloudflare Workers deployment
  • Updated workspace description in Chinese version from English to Chinese translation
  • Integrated API extension section into the documentation navigation structure across all three language versions

Reviewed changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
zh/use-dify/workspace/readme.mdx Translated workspace description from English to Chinese
zh/use-dify/workspace/api-extension/*.mdx Added Chinese documentation for API extensions (overview, external data tool, moderation, Cloudflare deployment)
ja/use-dify/workspace/api-extension/*.mdx Added Japanese documentation for API extensions with same structure as Chinese version
en/use-dify/workspace/api-extension/*.mdx Added English documentation for API extensions with same structure
docs.json Updated navigation to include new API extension documentation section for all three languages

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

Copy link
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

Copilot reviewed 14 out of 14 changed files in this pull request and generated 3 comments.


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


* `app.moderation.input` 终端用户输入的内容审查扩展点
* 用于审查终端用户传入的变量内容以及对话型应用中对话的输入内容。
* `app.moderation.output`LLM 输出的内容审查扩展点
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

Missing space between the closing backtick and 'LLM'. There should be a space after the backtick for consistent formatting. Compare with line 9 which correctly has a space.

Suggested change
* `app.moderation.output`LLM 输出的内容审查扩展点
* `app.moderation.output` LLM 输出的内容审查扩展点

Copilot uses AI. Check for mistakes.
Comment on lines 53 to 54
![App 編集ページで API Tool を追加](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/extension/api-based-extension/72c285e58ec136a1a9a66f61b4b41ca1.png)

Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The Japanese documentation includes an additional image (line 53) that is not present in the English (line 51) or Chinese (line 51) versions. This creates inconsistency across language versions. Either add the image to all versions or remove it from the Japanese version for consistency.

Suggested change
![App 編集ページで API Tool を追加](https://assets-docs.dify.ai/dify-enterprise-mintlify/zh_CN/guides/extension/api-based-extension/72c285e58ec136a1a9a66f61b4b41ca1.png)

Copilot uses AI. Check for mistakes.
}
```

#### API Response <a href="#usercontentapi-fan-hui-1" id="usercontentapi-fan-hui-1"></a>
Copy link

Copilot AI Jan 16, 2026

Choose a reason for hiding this comment

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

The anchor tag contains Chinese pinyin 'api-fan-hui-1' (meaning 'API return'). This should either be removed or use English identifiers for consistency with the English documentation.

Suggested change
#### API Response <a href="#usercontentapi-fan-hui-1" id="usercontentapi-fan-hui-1"></a>
#### API Response <a href="#usercontent-api-response-1" id="usercontent-api-response-1"></a>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants