Create a Dump
POST
/dumps
Triggers a dump creation process. Once the process is complete, a dump is created in the dump directory. If the dump directory does not exist yet, it will be created.
POST /dumps
curl \
-X POST https://example.meilisearch.com:7700/dumps \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (202)
{
"taskUid": 0,
"indexUid": null,
"status": "enqueued",
"type": "dumpCreation",
"enqueuedAt": "2021-01-01T09:39:00.000000Z"
}
Response examples (401)
{
"message": "The Authorization header is missing. It must use the bearer authorization method.",
"code": "missing_authorization_header",
"type": "auth",
"link": "https://docs.meilisearch.com/errors#missing_authorization_header"
}