mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🐛 Fix description of API createDocWithMd https://github.com/siyuan-note/siyuan/issues/8379
This commit is contained in:
3
API.md
3
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
|
||||
|
||||
|
||||
@@ -332,7 +332,7 @@
|
||||
```
|
||||
|
||||
* `data`:创建好的文档 ID
|
||||
* 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档,而是新建随机数结尾的文档
|
||||
* 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档
|
||||
|
||||
### 重命名文档
|
||||
|
||||
|
||||
Reference in New Issue
Block a user