Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: Add side effects description of upload assets in a subfolder in API doc

Daniel72405ed87aac
diff --git a/API.md b/API.md
index f59da1449a..b35cd9091a 100644
--- a/API.md
+++ b/API.md
@@ -469,7 +469,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
* `"/assets/sub/"`: workspace/data/assets/sub/ folder
Under normal circumstances, it is recommended to use the first method, which is stored in the assets folder
- of the workspace.
+ of the workspace, putting in a subdirectory has some side effects, please refer to the assets chapter of the user guide.
* `file[]`: Uploaded file list
* Return value
diff --git a/API_zh_CN.md b/API_zh_CN.md
index 1e34d893cc..dfecb8f59e 100644
--- a/API_zh_CN.md
+++ b/API_zh_CN.md
@@ -466,7 +466,7 @@
* `"/assets/"`:工作空间/data/assets/ 文件夹
* `"/assets/sub/"`:工作空间/data/assets/sub/ 文件夹
- 常规情况下建议用第一种,统一存放到工作空间资源文件夹下。
+ 常规情况下建议用第一种,统一存放到工作空间资源文件夹下,放在子目录有一些副作用,请参考用户指南资源文件章节。
* `file[]`:上传的文件列表
* 返回值