File tree 2 files changed +12
-18
lines changed
2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -1360,11 +1360,9 @@ update_localized_attribute_settings_1: |-
1360
1360
curl \
1361
1361
-X PUT 'MEILISEARCH_URL/indexes/INDEX_NAME/settings/localized-attributes' \
1362
1362
-H 'Content-Type: application/json' \
1363
- --data-binary '{
1364
- "localizedAttributes": [
1365
- {"locales": ["jpn"], "attributePatterns": ["*_ja"]}
1366
- ]
1367
- }'
1363
+ --data-binary '[
1364
+ {"locales": ["jpn"], "attributePatterns": ["*_ja"]}
1365
+ ]'
1368
1366
reset_localized_attribute_settings_1 : |-
1369
1367
curl \
1370
1368
-X DELETE 'MEILISEARCH_URL/indexes/INDEX_NAME/settings/localized-attributes'
Original file line number Diff line number Diff line change @@ -899,11 +899,9 @@ Get the localized attributes settings of an index.
899
899
##### Response: ` 200 OK `
900
900
901
901
``` json
902
- {
903
- "localizedAttributes" : [
904
- {"locales" : [" jpn" ], "attributePatterns" : [" *_ja" ]}
905
- ]
906
- }
902
+ [
903
+ {"locales" : [" jpn" ], "attributePatterns" : [" *_ja" ]}
904
+ ]
907
905
```
908
906
909
907
### Update localized attribute settings
@@ -921,14 +919,12 @@ Update the localized attributes settings of an index.
921
919
#### Body
922
920
923
921
```
924
- {
925
- "localizedAttributes": [
926
- {
927
- "locales": [<String>, …],
928
- "attributePatterns": [<String>, …],
929
- }
930
- ]
931
- }
922
+ [
923
+ {
924
+ "locales": [<String>, …],
925
+ "attributePatterns": [<String>, …],
926
+ }
927
+ ]
932
928
```
933
929
934
930
| Name | Type | Default value | Description |
You can’t perform that action at this time.
0 commit comments