Skip to content

Commit 35de3ce

Browse files
Apply suggestions from code review
Co-authored-by: Mubelotix <[email protected]>
1 parent d6f0fb7 commit 35de3ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.code-samples.meilisearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ webhooks_patch_1: |-
15071507
}'
15081508
webhooks_delete_1: |-
15091509
curl \
1510-
-X DELETE 'MEILISEARCH_URL/webhooks'
1510+
-X DELETE 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID'
15111511
15121512
### Code samples for experimental features
15131513
experimental_get_metrics_1: |-

learn/self_hosted/configure_meilisearch_at_launch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Notifies the configured URL whenever Meilisearch [finishes processing a task](/l
495495

496496
The webhook payload contains the list of finished tasks in [ndjson](https://github.com/ndjson/ndjson-spec). For more information, [consult the dedicated task webhook guide](/learn/async/task_webhook).
497497

498-
The task webhook option is only available for self-hosted instances. If you are using Meilisearch Cloud, use the [`/webhooks` API route](/reference/api/webhooks) instead.
498+
The task webhook option requires having access to a command-line interface. If you are using Meilisearch Cloud, use the [`/webhooks` API route](/reference/api/webhooks) instead.
499499

500500
### Task webhook authorization header
501501

reference/errors/error_codes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ The create webhook request did not contain a valid JSON payload. Meilisearch als
613613

614614
### `invalid_webhook_url`
615615

616-
The provided webhook URL isn’t a valid JSON value, `null`, or missing.
616+
The provided webhook URL isn’t a valid JSON string, is `null`, is missing, or its value cannot be parsed as a valid URL.
617617

618618
### `invalid_webhook_headers`
619619

0 commit comments

Comments
 (0)