milvus/tests/scripts/restful-data/create-collection.json
shaoyue 32a3ed0791
Add e2e test for RESTful APIs, fix json encoding for on proto_oneof fields (#17362)
Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
2022-06-20 22:06:12 +08:00

32 lines
662 B
JSON

{
"collection_name": "book",
"consistency_level": 1,
"db_name": "string",
"schema": {
"autoID": false,
"description": "Test book search",
"fields": [
{
"name": "book_id",
"description": "book id",
"is_primary_key": true,
"autoID": false,
"data_type": 5
},
{
"name": "book_intro",
"description": "embedded vector of book introduction",
"autoID": false,
"data_type": 101,
"is_primary_key": false,
"type_params": [
{
"key": "dim",
"value": "2"
}
]
}
],
"name": "book"
}
}