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

This commit is contained in:
Daniel 2023-05-28 21:59:48 +08:00
parent 78f2601471
commit 18978a3336
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 3 deletions

3
API.md
View file

@ -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

View file

@ -332,7 +332,7 @@
```
* `data`:创建好的文档 ID
* 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档,而是新建随机数结尾的文档
* 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档
### 重命名文档