Records snapshot download event

Records snapshot download event

post/statistics/snapshot

Request body

digeststring bytes required

Digest that is signed by the signer participants

networkstring required

Cardano network

sizeinteger required

Size of the immutables snapshot file in Bytes

ancillary_sizeinteger

Size of the ancillary snapshot file in Bytes

locationsstring[] required

Locations where the snapshot of the immutable files can be retrieved

ancillary_locationsstring[]

Locations where the snapshot of the ancillary files can be retrieved

compression_algorithmstring required

Compression algorithm for the snapshot archive

cardano_node_versionstring required

Version of the Cardano node which is used to create snapshot archives.

Example request

{
  "digest": "6367ee65d0d1272e6e70736a1ea2cae34015874517f6328364f6b73930966732",
  "network": "mainnet",
  "beacon": {
    "epoch": 329,
    "immutable_file_number": 7060000
  },
  "size": 26058531636,
  "ancillary_size": 123456789,
  "locations": [
    "https://mithril-cdn-us.iohk.io/snapshot/6367ee65d0d1272e6e70736a1ea2cae34015874517f6328364f6b73930966732",
    "https://mithril-cdn-eu.iohk.io/snapshot/6367ee65d0d1272e6e70736a1ea2cae34015874517f6328364f6b73930966732",
    "magnet:?xt=urn:sha1:YNCKHTQCWBTRNJIV4WNAE52SJUQCZO5C",
    "ipfs:QmPXME1oRtoT627YKaDPDQ3PwA8tdP9rWuAAweLzqSwAWT"
  ],
  "ancillary_locations": [
    "https://mithril-cdn-us.iohk.io/snapshot/6367ee65d0d1272e6e70736a1ea2cae34015874517f6328364f6b73930966732.ancillary.tar.zst"
  ],
  "compression_algorithm": "zstandard",
  "cardano_node_version": "1.0.0"
}

Response

Event successfully recorded

Changes