Snapshots

Create a snapshot (storage)

POST
Creates a new snapshot of the entire storage.

Query parameters

waitbooleanOptional
If true, wait for changes to actually happen. If false - let changes happen in background. Default is true.

Response

This endpoint returns an object
time
doubleOptional
Time spent to process this request
status
stringOptional
result
objectOptional
POST
1curl -X POST http://localhost:6333/snapshots \
2 -H "api-key: <apiKey>"
200Successful
1{
2 "time": 1.1,
3 "status": "status",
4 "result": {
5 "name": "name",
6 "size": 1,
7 "creation_time": "creation_time",
8 "checksum": "checksum"
9 }
10}