🧑‍💻 Add a kernel API /api/filetree/removeDocByID

This commit is contained in:
Daniel 2024-11-27 09:35:07 +08:00
parent 30ea789fd3
commit 2fb42c5b8c
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 74 additions and 0 deletions

View file

@ -416,6 +416,28 @@
"data": null
}
```
通过 `id` 删除文档:
* `/api/filetree/removeDocByID`
* 参数
```json
{
"id": "20210902210113-0avi12f"
}
```
* `id`:文档 ID
* 返回值
```json
{
"code": 0,
"msg": "",
"data": null
}
```
### 移动文档