mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-28 18:00:15 +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_zh_CN.md
22
API_zh_CN.md
|
|
@ -416,6 +416,28 @@
|
|||
"data": null
|
||||
}
|
||||
```
|
||||
|
||||
通过 `id` 删除文档:
|
||||
|
||||
* `/api/filetree/removeDocByID`
|
||||
* 参数
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "20210902210113-0avi12f"
|
||||
}
|
||||
```
|
||||
|
||||
* `id`:文档 ID
|
||||
* 返回值
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"msg": "",
|
||||
"data": null
|
||||
}
|
||||
```
|
||||
|
||||
### 移动文档
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue