Skip to main content
Version: 10.1

Zone Configuration Event

Properties​

  • id (integer): Unique event identifier.

  • timestamp (string, format: date-time)

    Examples:

    "2018-11-13T20:20:39+00:00"
  • user (['string', 'null'], format: uri-reference): Optional resource of user who triggered the event.

    Examples:

    "/users/123"
  • event_type (string): Must be one of: ["zone-config"].

  • event (string): Must be one of: ["update"].

  • parent_zone (string, format: uri-reference): Zone where configuration has changed.

    Examples:

    "/zones/12"
  • changes (object)

    • template (object): Provided if the zone base template has changed.
    • configuration (object): Provided if the zone configuration has been changed (from the template).
      • new (object): Can contain additional properties.
        • Additional properties (string)
      • old (object): Can contain additional properties.
        • Additional properties (string)
    • rollback (string, format: uri-reference): Provided if this event was caused by a zone configuration rollback.

Definitions​

  • template (object)
    • resource (string, format: uri-reference)
    • name (string)

Examples​

{
"id": 1,
"timestamp": "2018-11-13T20:20:39+00:00",
"user": "/users/100",
"event_type": "zone-config",
"event": "update",
"parent_zone": "/zones/123",
"revision_resource": "/zones/1012/revisions/1",
"changes": {
"template": {
"new": {
"resource": "/groups/21/templates/1",
"name": "Default"
},
"old": {
"resource": "/groups/21/templates/2",
"name": "Other Template"
}
},
"configuration": {
"new": {
"at_2_st_2_duplicates_allowed_max": "10",
"custom_advanced_config": "New custom advanced value"
},
"old": {
"at_2_st_2_duplicates_allowed_max": "20"
}
},
"rollback": "/zones/1012/revisions/0"
}
}