correct spelling from shapshot to snapshot in the documentation

This commit is contained in:
unknown
2025-07-07 21:12:39 +05:30
parent 9a8c168f72
commit 036b1ba51b
7 changed files with 7 additions and 7 deletions
@@ -2,5 +2,5 @@
curl -X POST 'http://qdrant-node-1:6333/collections/{collection_name}/snapshots/upload?priority=snapshot' \
-H 'api-key: ********' \
-H 'Content-Type:multipart/form-data' \
-F 'snapshot=@/path/to/snapshot-2022-10-10.shapshot'
-F 'snapshot=@/path/to/snapshot-2022-10-10.snapshot'
```
@@ -1,7 +1,7 @@
```http
PUT /collections/{collection_name}/snapshots/recover
{
"location": "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
"location": "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
"priority": "snapshot"
}
```
@@ -5,7 +5,7 @@ client = QdrantClient(url="http://qdrant-node-2:6333")
client.recover_snapshot(
"{collection_name}",
"http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
"http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
priority=models.SnapshotPriority.SNAPSHOT,
)
```
@@ -4,7 +4,7 @@ import { QdrantClient } from "@qdrant/js-client-rest";
const client = new QdrantClient({ host: "localhost", port: 6333 });
client.recoverSnapshot("{collection_name}", {
location: "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.shapshot",
location: "http://qdrant-node-1:6333/collections/{collection_name}/snapshots/snapshot-2022-10-10.snapshot",
priority: "snapshot"
});
```