Skip to content

Commit 6a694aa

Browse files
committed
Fix uid
1 parent eb5fa57 commit 6a694aa

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.code-samples.meilisearch.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ search_get_1: |-
9696
get_all_tasks_1: |-
9797
curl \
9898
-X GET 'MEILISEARCH_URL/tasks'
99-
# get_tasks_id
99+
# get_tasks_taskUid
100100
get_task_1: |-
101101
curl \
102102
-X GET 'MEILISEARCH_URL/tasks/1'
@@ -108,7 +108,7 @@ get_all_tasks_paginating_1: |-
108108
get_all_tasks_paginating_2: |-
109109
curl \
110110
-X GET 'MEILISEARCH_URL/tasks?limit=2&from=8
111-
# get_keys_id
111+
# get_keys_uidOrKey
112112
get_one_key_1: |-
113113
curl \
114114
-X GET 'MEILISEARCH_URL/keys/6062abda-a5aa-4414-ac91-ecd7944c0f8d' \
@@ -130,7 +130,7 @@ create_a_key_1: |-
130130
"indexes": ["products"],
131131
"expiresAt": "2042-04-02T00:42:42Z"
132132
}'
133-
# patch_keys_id
133+
# patch_keys_uidOrKey
134134
update_a_key_1: |-
135135
curl \
136136
-X PATCH 'MEILISEARCH_URL/keys/6062abda-a5aa-4414-ac91-ecd7944c0f8d' \
@@ -140,7 +140,7 @@ update_a_key_1: |-
140140
"name": "Products/Reviews API key",
141141
"description": "Manage documents: Products/Reviews API key"
142142
}'
143-
# delete_keys_id
143+
# delete_keys_uidOrKey
144144
delete_a_key_1: |-
145145
curl \
146146
-X DELETE 'MEILISEARCH_URL/keys/6062abda-a5aa-4414-ac91-ecd7944c0f8d' \
@@ -550,7 +550,7 @@ getting_started_add_documents: |-
550550
-H 'Content-Type: application/json' \
551551
-H 'Authorization: Bearer aSampleMasterKey' \
552552
--data-binary @movies.json
553-
# get_tasks_id
553+
# get_tasks_taskUid
554554
getting_started_check_task_status: |-
555555
curl \
556556
-X GET 'MEILISEARCH_URL/tasks/0' \
@@ -841,7 +841,7 @@ security_guide_search_key_1: |-
841841
curl \
842842
-X POST 'MEILISEARCH_URL/indexes/patient_medical_records/search' \
843843
-H 'Authorization: Bearer API_KEY'
844-
# patch_keys_id
844+
# patch_keys_uidOrKey
845845
security_guide_update_key_1: |-
846846
curl \
847847
-X PATCH 'MEILISEARCH_URL/keys/74c9c733-3368-4738-bbe5-1d18a5fecb37' \
@@ -865,7 +865,7 @@ security_guide_list_keys_1: |-
865865
curl \
866866
-X GET 'MEILISEARCH_URL/keys' \
867867
-H 'Authorization: Bearer MASTER_KEY'
868-
# delete_keys_id
868+
# delete_keys_uidOrKey
869869
security_guide_delete_key_1: |-
870870
curl \
871871
-X DELETE 'MEILISEARCH_URL/keys/ac5cd97d-5a4b-4226-a868-2d0eb6d197ab' \
@@ -1437,7 +1437,7 @@ index_settings_tutorial_api_put_setting_1: |-
14371437
"title",
14381438
"overview"
14391439
]'
1440-
# get_tasks_TASK_UID
1440+
# get_tasks_taskUid
14411441
index_settings_tutorial_api_task_1: |-
14421442
curl \
14431443
-X GET 'MEILISEARCH_URL/tasks/TASK_UID'
@@ -1720,7 +1720,7 @@ export_post_1: |-
17201720
webhooks_get_1: |-
17211721
curl \
17221722
-X GET 'MEILISEARCH_URL/webhooks'
1723-
# get_webhooks_id
1723+
# get_webhooks_uid
17241724
webhooks_get_single_1: |-
17251725
curl \
17261726
-X GET 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID'
@@ -1736,7 +1736,7 @@ webhooks_post_1: |-
17361736
"referer": "https://example.com"
17371737
}
17381738
}'
1739-
# patch_webhooks_id
1739+
# patch_webhooks_uid
17401740
webhooks_patch_1: |-
17411741
curl \
17421742
-X PATCH 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID' \
@@ -1746,7 +1746,7 @@ webhooks_patch_1: |-
17461746
"referer": null
17471747
}
17481748
}'
1749-
# delete_webhooks_id
1749+
# delete_webhooks_uid
17501750
webhooks_delete_1: |-
17511751
curl \
17521752
-X DELETE 'MEILISEARCH_URL/webhooks/WEBHOOK_UUID'

0 commit comments

Comments
 (0)