@@ -1217,7 +1209,7 @@ Inserts vectors to a collection.
| Parameter | Description | Required? |
|-----------------|---|------|
| `tag` | Tag of the partition to insert vectors to. | No |
| `partition_tag` | Tag of the partition to insert vectors to. | No |
| `vectors` | Vectors to insert to the collection. | Yes |
| `ids` | IDs of the vectors to insert to the collection. If you assign IDs to the vectors, you must provide IDs for all vectors in the collection. If you do not specify this parameter, Milvus automatically assigns IDs to the vectors. | No |
@@ -1242,7 +1234,7 @@ Inserts vectors to a collection.
##### Request
```shell
$ curl -X POST "http://192.168.1.65:19121/collections/test_collection/vectors"-H"accept: application/json"-H"Content-Type: application/json"-d"{\"vectors\":[[0.1],[0.2],[0.3],[0.4]]}"
$ curl -X POST "http://127.0.0.1:19121/collections/test_collection/vectors"-H"accept: application/json"-H"Content-Type: application/json"-d"{\"vectors\":[[0.1],[0.2],[0.3],[0.4]]}"
```
##### Response
@@ -1285,7 +1277,7 @@ Obtain a vector to by ID.
##### Request
```shell
$ curl -X POST "http://192.168.1.65:19121/collections/test_collection/vectors?id=1578989029645098000"-H"accept: application/json"-H"Content-Type: application/json"
$ curl -X POST "http://127.0.0.1:19121/collections/test_collection/vectors?id=1578989029645098000"-H"accept: application/json"-H"Content-Type: application/json"
```
##### Response
@@ -1320,7 +1312,7 @@ Use this API for Cross-Origin Resource Sharing (CORS).