A record is the result of combining the key for an entry with the data from the blob.

type Record =
  { key : ID
  , data : Dict Name Value
combine : BlobStore -> Entry -> Result Record UnknownBlob

For example, the list of records part of the REST API can be computed by first computing the latest snapshot and then computing the record for each entry:

map (combine store) (collect log)

© Crown copyright released under the Open Government Licence.