Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When the metadata changes for a record one of our supported Events is generated. The most common case concerns events of type UPDATE or UPDATE are generated.<SUBTYPE>. MediaHaven calculates the changes in the metadata and persistent those changes as property of the event.

...

The difference is outputted in the following contexts

  1. Visible in the front-ends MediaHaven 2.0 and MediaHaven Monitoring

  2. The MediaHaven REST API endpoint events

  3. The OAI PMH API with format “mets-mhs-head”

  4. When exporting a record with the combine option ZipTree with metadata format MetsMhsTreeHead or requesting it with metadata in the format MetsMhsHead

  5. Visible in the front-ends MediaHaven 2.0 and MediaHaven Monitoring When requesting Webhooks using the format XmlPremisV3

JSON (output example)

Code Block
{
  "Difference": [
    {   "DottedKey": "Descriptive.Keywords",
        "ValueBefore": {
            "Keyword": [
                "Beekje",
                "Leopoldskanaal"
            ]
        },
        "ValueAfter": {
            "Keyword": [
                "Beekje",
                "Leopoldskanaal",
                "Krekenroute"
            ]
        }
    },
    { "DottedKey": "Internal.ArchiveStatus",
      "ValueBefore": "in_progress",
      "ValueAfter": "on_disk"}
  ]
}

...