Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ add_or_update_documents_1: |-
delete_all_documents_1: |-
curl \
-X DELETE 'MEILISEARCH_URL/indexes/movies/documents'
# delete_indexes_indexUid_documents_id
# delete_indexes_indexUid_documentId
delete_one_document_1: |-
curl \
-X DELETE 'MEILISEARCH_URL/indexes/movies/documents/25684'
Expand Down Expand Up @@ -685,7 +685,7 @@ create_snapshot_1: |-
get_all_batches_1: |-
curl \
-X GET 'http://MEILISEARCH_URL/batches'
# get_batches_id
# get_batches_batchUid
get_batch_1: |-
curl \
-X GET 'http://MEILISEARCH_URL/batches/BATCH_UID'
Expand Down Expand Up @@ -720,7 +720,7 @@ export_post_1: |-
webhooks_get_1: |-
curl \
-X GET 'MEILISEARCH_URL/webhooks'
# get_webhooks_uid
# get_webhooks_uuid
webhooks_get_single_1: |-
curl \
-X GET 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID'
Expand All @@ -736,7 +736,7 @@ webhooks_post_1: |-
"referer": "https://example.com"
}
}'
# patch_webhooks_uid
# patch_webhooks_uuid
webhooks_patch_1: |-
curl \
-X PATCH 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID' \
Expand All @@ -746,7 +746,7 @@ webhooks_patch_1: |-
"referer": null
}
}'
# delete_webhooks_uid
# delete_webhooks_uuid
webhooks_delete_1: |-
curl \
-X DELETE 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
```bash cURL
curl \
-X DELETE MEILISEARCH_URL/logs/stream
}'
```
</CodeGroup>
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ curl \
}
}
]
}'
```
</CodeGroup>
6 changes: 3 additions & 3 deletions snippets/samples/code_samples_related_results_embedder_1.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<CodeGroup>

```bash cURL
curl -X PATCH 'MEILISEARCH_URL/indexes/movies/settings'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer MEILISEARCH_API_KEY'
curl -X PATCH 'MEILISEARCH_URL/indexes/movies/settings'
-H 'Content-Type: application/json'
-H 'Authorization: Bearer MEILISEARCH_API_KEY'
--data-binary '{
"embedders": {
"movies-text": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
```bash cURL
curl -X POST 'MEILISEARCH_URL/indexes/INDEX_NAME/search' \
-H 'content-type: application/json' \
--data-binary '{
--data-binary '{
"vector": [0, 1, 2],
"hybrid": {
"embedder": "EMBEDDER_NAME"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
curl \
-X POST 'http://<your-domain-name>/dumps' \
-H 'Authorization: Bearer API_KEY'
# -H 'X-Meili-API-Key: API_KEY' for v0.24 or below
```
</CodeGroup>