mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🧑💻 Add a kernel API /api/filetree/removeDocByID
This commit is contained in:
parent
30ea789fd3
commit
2fb42c5b8c
4 changed files with 74 additions and 0 deletions
22
API.md
22
API.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue