Skip to content

Commit e2aa73e

Browse files
committed
[AUTOMATION POST DEPLOYMENT] Update meilisearch-openapi-mintlify.json
1 parent b872b69 commit e2aa73e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

assets/open-api/meilisearch-openapi-mintlify.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,10 @@
777777
"lang": "cURL",
778778
"source": "curl \\\n -X POST 'MEILISEARCH_URL/export' \\\n -H 'Content-Type: application/json' \\\n --data-binary '{\n \"url\": \"TARGET_INSTANCE_URL\",\n \"indexes\": {\n \"*\": {\n \"overrideSettings\": true\n }\n }\n }'"
779779
},
780+
{
781+
"lang": "Python",
782+
"source": "client.export(\n url='https://remote-meilisearch-instance.com',\n api_key='masterKey',\n payload_size='50 MiB',\n indexes={\n 'movies*': {},\n 'books*': {},\n },\n)"
783+
},
780784
{
781785
"lang": "Java",
782786
"source": "Map<String, ExportIndexFilter> indexes = new HashMap<>();\nindexes.put(\"*\", ExportIndexFilter.builder().overrideSettings(true).build());\nExportRequest request = ExportRequest.builder().url(\"TARGET_INSTANCE_URL\").indexes(indexes).build();\nclient.export(request);"

0 commit comments

Comments
 (0)