{
"name": "修改后的名字",
"description": "修改后的描述",
"knowledge_id": 1
}
curl --location --request PUT 'http://192.168.50.15:7860/api/v2/filelib/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "修改后的名字",
"description": "修改后的描述",
"knowledge_id": 1
}'
{
"status_code": 200,
"status_message": "SUCCESS",
"data": {
"description": "修改后的描述",
"collection_name": "col_1709631726_83278083",
"name": "修改后的名字",
"create_time": "2024-03-05T09:42:06",
"id": 1,
"model": "11",
"user_id": 1,
"index_name": "col_1709631726_0b4ca3c0",
"update_time": "2024-09-04T11:22:03"
}
}