mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-14 20:54:30 +08:00
Update API document (#14364)
### What problem does this PR solve? Update API document ### Type of change - [ ] Documentation Update
This commit is contained in:
@@ -7323,16 +7323,16 @@ or
|
||||
##### Request example
|
||||
|
||||
```bash
|
||||
curl --request POST \
|
||||
curl --request POST \
|
||||
--url http://{address}/api/v1/files/link-to-datasets \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Content-Type: application/json' \
|
||||
--header 'Authorization: Bearer <YOUR_API_KEY>' \
|
||||
--data '{
|
||||
"file_ids": ["file_id_1", "file_id_2"],
|
||||
"kb_ids": ["dataset_id_1", "dataset_id_2"]
|
||||
}'
|
||||
```
|
||||
|
||||
|
||||
##### Request parameters
|
||||
|
||||
- `"file_ids"`: (*Body parameter*), `list[string]`, *Required*
|
||||
@@ -7344,7 +7344,7 @@ Converts files to documents and links them to specified datasets.
|
||||
|
||||
Success:
|
||||
|
||||
```json
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"data": [
|
||||
|
||||
Reference in New Issue
Block a user