[skip ci]Fix restful api doc for loadcollection (#4627)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/4641/head
yukun 2021-01-19 19:05:52 +08:00 committed by GitHub
parent 4175ac1f22
commit f709349cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1496,7 +1496,8 @@ $ curl -X PUT "http://127.0.0.1:19121/system/task" -H "accept: application/json"
<tr><td>Body</td><td><pre><code>
{
"load": {
"collection_name": $string
"collection_name": $string,
"partition_tags": [$string, $string]
}
}
</code></pre> </td></tr>
@ -1515,7 +1516,7 @@ $ curl -X PUT "http://127.0.0.1:19121/system/task" -H "accept: application/json"
###### Request
```shell
$ curl -X PUT "http://127.0.0.1:19121/system/task" -H "accept: application/json" -d "{\"load\": {\"collection_name\": \"test_collection\"}}"
$ curl -X PUT "http://127.0.0.1:19121/system/task" -H "accept: application/json" -d "{\"load\": {\"collection_name\": \"test_collection\", \"partition_tags\": [\"part_1\", \"part_2\"]}}"
```
###### Response