🎨 支持批量移动文档

This commit is contained in:
Liang Ding 2023-02-02 11:06:10 +08:00
parent ddf12f589a
commit b321185248
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 8 additions and 12 deletions

View file

@ -377,20 +377,18 @@
### 移动文档
* `/api/filetree/moveDoc`
* `/api/filetree/moveDocs`
* 参数
```json
{
"fromNotebook": "20210831090520-7dvbdv0",
"fromPath": "/20210917220056-yxtyl7i.sy",
"fromPaths": ["/20210917220056-yxtyl7i.sy"],
"toNotebook": "20210817205410-2kvfpfn",
"toPath": "/"
}
```
* `fromNotebook`:源笔记本 ID
* `fromPath`:源路径
* `fromPaths`:源路径
* `toNotebook`:目标笔记本 ID
* `toPath`:目标路径
* 返回值