Skip to content

Commit e2d939f

Browse files
fix wrong update vector store verb to PATCH
1 parent 105ad31 commit e2d939f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1606,7 +1606,7 @@ get_vector_store_settings_1: |-
16061606
-X GET 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store'
16071607
update_vector_store_settings_1: |-
16081608
curl \
1609-
-X PUT 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store' \
1609+
-X PATCH 'MEILISEARCH_URL/indexes/INDEX_UID/settings/vector-store' \
16101610
-H 'Content-Type: application/json' \
16111611
--data-binary '"experimental"'
16121612
reset_vector_store_settings_1: |-

reference/api/settings.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3235,7 +3235,7 @@ Get the vector store of an index.
32353235

32363236
### Update vector store settings
32373237

3238-
<RouteHighlighter method="PUT" path="/indexes/{index_uid}/settings/vector-store" />
3238+
<RouteHighlighter method="PATCH" path="/indexes/{index_uid}/settings/vector-store" />
32393239

32403240
Update the vector store of an index.
32413241

0 commit comments

Comments
 (0)