Skip to content

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

:bug: Fix description of API `createDocWithMd` https://github.com/siyuan-note/siyuan/issues/8379

Daniel18978a333645
diff --git a/API.md b/API.md
index 57fd507627..f59da1449a 100644
--- a/API.md
+++ b/API.md
@@ -334,8 +334,7 @@ View API token in <kbd>Settings - About</kbd>, request header: `Authorization: T
```
* `data`: Created document ID
- * If you use the same `path` to call this interface repeatedly, the existing document will not be overwritten, but a
- new document ending with a random number will be created
+ * If you use the same `path` to call this interface repeatedly, the existing document will not be overwritten
### Rename a document
diff --git a/API_zh_CN.md b/API_zh_CN.md
index 24f182c624..1e34d893cc 100644
--- a/API_zh_CN.md
+++ b/API_zh_CN.md
@@ -332,7 +332,7 @@
```
* `data`:创建好的文档 ID
- * 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档,而是新建随机数结尾的文档
+ * 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档
### 重命名文档