Skip to content

Commit 09f6519

Browse files
fix vector store setting update verb to PATCH (#3372)
1 parent f6f78bb commit 09f6519

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
@@ -3255,7 +3255,7 @@ Get the vector store of an index.
32553255

32563256
### Update vector store settings
32573257

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

32603260
Update the vector store of an index.
32613261

0 commit comments

Comments
 (0)