Skip to content
Draft
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
19 changes: 4 additions & 15 deletions .code-samples.meilisearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1603,6 +1603,10 @@ patch_dynamic_search_rule_1: |-
delete_dynamic_search_rule_1: |-
curl \
-X DELETE 'MEILISEARCH_URL/dynamic-search-rules/black-friday'
# delete_dynamic_search_rules
delete_dynamic_search_rules_1: |-
curl \
-X DELETE 'MEILISEARCH_URL/dynamic-search-rules'
# get_indexes_indexUid_settings_foreign_keys
get_foreign_keys_setting_1: |-
curl \
Expand Down Expand Up @@ -2122,18 +2126,3 @@ rbac_multi_level_1: |-
"q": "sensitive",
"filter": "_foreign(access, (user = \"jeremy@meilisearch.com\" AND roles IN [\"editor\", \"owner\"]) OR (teams IN [\"product\", \"engineering\"] AND roles IN [\"editor\"]))"
}'
# post_render_template
post_render_template_1: |-
curl \
-X POST 'MEILISEARCH_URL/render-template' \
-H 'Content-Type: application/json' \
--data-binary '{
"template": {
"kind": "inlineDocumentTemplate",
"inline": "A document template rendered on {{doc.id}}"
},
"input": {
"kind": "inlineDocument",
"inline": { "id": "this document" }
}
}'
Loading
Loading