🧑‍💻 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

22
API.md
View file

@ -416,6 +416,28 @@ Rename a document by `id`:
"data": null
}
```
Remove a document by `id`:
* `/api/filetree/removeDocByID`
* Parameters
```json
{
"id": "20210902210113-0avi12f"
}
```
* `id`: Document ID
* Return value
```json
{
"code": 0,
"msg": "",
"data": null
}
```
### Move documents