diff --git a/core/src/server/web_impl/README.md b/core/src/server/web_impl/README.md index 3b37dff0e4..22a22e6df0 100644 --- a/core/src/server/web_impl/README.md +++ b/core/src/server/web_impl/README.md @@ -500,6 +500,29 @@ $ curl -X GET "http://192.168.1.65:19121/collections/test_collection" -H "accept {"collection_name":"test_collection","dimension":1,"index_file_size":10,"metric_type":"L2","count":0,"index":"FLAT","nlist":16384} ``` +##### Request + +```shell +$ curl -X GET "http://192.168.1.65:19121/collections/test_collection?info=stat" -H "accept: application/json" +``` + +##### Response + +```json +{ + "count":150000, + "partitions_stat":[ + { + "count":1000,"partition_tag":"_default", + "segments_stat":[ + {"count":1000,"index":"IVFFLAT","segment_name":"1583727170217439000","size":5284922} + ] + } + ] +} +``` + + ### `/collections/{collection_name}` (DELETE) Drops a collection by name.