Authorization: Bearer ********************curl --location 'http://localhost:5013/api/nb/v1/chat/attachments/upload' \
--header 'Authorization: Bearer <token>' \
--form 'files(文件)=@"C:\\Project\\nexent\\.cursor\\how-openviking-skill-works.md"'{
"message": "Processed 1 files",
"requestId": "23bc4ee2-f625-4a3a-a637-a46ffc3c0bb4",
"summary": {
"total": 1,
"uploaded": 1,
"failed": 0
},
"files": [
{
"object_name": "attachments/44dc6fa5-bfce-42b0-b3a4-7dadd3309edb/20260622093237_fdbd6acd7a554802bcda0f0096440a35.md",
"name": "how-openviking-skill-works.md",
"type": "file",
"size": 6946,
"url": "/nexent/attachments/44dc6fa5-bfce-42b0-b3a4-7dadd3309edb/20260622093237_fdbd6acd7a554802bcda0f0096440a35.md",
"description": "",
"presigned_url": "http://localhost:5013/api/nb/v1/file/fetch?presigned_url=http%3A%2F%2Fnexent-minio%3A9000%2Fnexent%2Fattachments%2F44dc6fa5-bfce-42b0-b3a4-7dadd3309edb%2F20260622093237_fdbd6acd7a554802bcda0f0096440a35.md%3FX-Amz-Algorithm%3DAWS4-HMAC-SHA256%26X-Amz-Credential%3D9ff15e1c7f980659e0f87421%252F20260622%252Fcn-north-1%252Fs3%252Faws4_request%26X-Amz-Date%3D20260622T093237Z%26X-Amz-Expires%3D86400%26X-Amz-SignedHeaders%3Dhost%26X-Amz-Signature%3D4fe276616844e8faad8f0c694c462b6cebea9c20f0765077b3fb135448db1f61"
}
]
}