Collections — MDDB API
Get collection checksum #
GET /v1/checksum
Returns a checksum of the collection's documents: a 64-bit value per document from its whole key (collection, key, language) and its whole stored value, mixed and added, so read order does not matter. Equal on two nodes holding the same documents byte for byte; any document added, updated or deleted changes it. Use it to compare replicas or to detect changes without downloading the documents. Since 2.19.8 it is 16 hex digits; the 8-digit CRC32 XOR before it could miss documents.
Authorization: BearerAuth or APIKeyAuth or none
Parameters #
| Name | In | Type | Description |
|---|---|---|---|
collection (required) |
query | string |
Collection name |
Responses #
| Status | Description | Body |
|---|---|---|
200 |
Collection checksum and document count | object (application/json) |
400 |
Missing collection parameter |