mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix: optimize file batch delete (#14473)
### What problem does this PR solve? optimize file batch delete ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -7257,7 +7257,9 @@ Success:
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
---
|
||||
|
||||
### Download file
|
||||
|
||||
**GET** `/api/v1/files/{file_id}`
|
||||
@@ -7265,8 +7267,14 @@ Failure:
|
||||
Downloads a file from the system.
|
||||
|
||||
:::caution DEPRECATED
|
||||
- URL: `/api/v1/files/{file_id}`
|
||||
- Headers:
|
||||
The previous endpoint `GET /api/v1/file/get/{file_id}` is deprecated. Please use this endpoint instead.
|
||||
:::
|
||||
|
||||
#### Request
|
||||
|
||||
- Method: GET
|
||||
- URL: `/api/v1/files/{file_id}`
|
||||
- Headers:
|
||||
- `'Authorization: Bearer <YOUR_API_KEY>'`
|
||||
|
||||
##### Request example
|
||||
|
||||
Reference in New Issue
Block a user