mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-13 08:49:02 +08:00
Update api_md document/rm (#894)
### What problem does this PR solve? Update api_md document/rm #717 ### Type of change - [x] Documentation Update
This commit is contained in:
parent
6f99bbbb08
commit
1e5c5abe58
@ -444,3 +444,27 @@ Get document list based on the knowledge base name and corresponding parameters.
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Delete document
|
||||
|
||||
Delete document by document id or document name.
|
||||
### Path: /api/document/rm/
|
||||
### Method: POST
|
||||
|
||||
### Parameter:
|
||||
|
||||
| Name | Type | Optional | Description |
|
||||
|-------------|--------|----------|----------------------------|
|
||||
| `doc_names` | List | Yes | The list of document name. |
|
||||
| `doc_ids` | List | Yes | The list of document id. |
|
||||
|
||||
|
||||
### Response
|
||||
```json
|
||||
{
|
||||
"data": true,
|
||||
"retcode": 0,
|
||||
"retmsg": "success"
|
||||
}
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user