Skip to content

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

:memo: Update API doc https://github.com/siyuan-note/siyuan/pull/16041#issuecomment-3912139575

Danieleb71221b9fa1
diff --git a/API.md b/API.md
index cdc4f4b86c..47b7950b2b 100644
--- a/API.md
+++ b/API.md
@@ -1098,6 +1098,8 @@ Move documents by `id`:
}
```
+Note: In publish mode, access to this interface will be prohibited unless all document read and write permissions are made public. Please refer to the [discussion](https://github.com/siyuan-note/siyuan/pull/16041#issuecomment-3912139575).
+
### Flush transaction
* `/api/sqlite/flushTransaction`
diff --git a/API_ja_JP.md b/API_ja_JP.md
index b94d5d1b01..99acc13821 100644
--- a/API_ja_JP.md
+++ b/API_ja_JP.md
@@ -1091,6 +1091,8 @@
}
```
+注意:公開モードでは、すべてのドキュメントの読み書き権限を公開していない限り、このAPIへのアクセスは禁止されます。詳しくは[議論](https://github.com/siyuan-note/siyuan/pull/16041#issuecomment-3912139575)を参照してください。
+
### トランザクションをフラッシュ
* `/api/sqlite/flushTransaction`
diff --git a/API_zh_CN.md b/API_zh_CN.md
index 778def2328..2f9a3e807f 100644
--- a/API_zh_CN.md
+++ b/API_zh_CN.md
@@ -1090,6 +1090,8 @@
]
}
```
+
+注意:发布模式下除非公开所有文档读写权限,否则会禁止访问该接口,请参考[讨论](https://github.com/siyuan-note/siyuan/pull/16041#issuecomment-3912139575)。
### 提交事务