Skip to main content
Version: 10.1

Zone Prefix 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-prefix"].

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

  • parent_zone (string, format: uri-reference)

    Examples:

    "/zones/123"
  • changes (object)

    • created (array)
    • deleted: Refer to prefix_object.
    • updated (object): Single prefix object updated. Refer to prefix_object.
      • old_prefix (string): IPv4 or IPv6 prefix.

        Examples:

        "192.0.2.0/24"
        "2001:0DB8:0:CD30::/60"
      • old_description (string): Optional user-provided description.

Definitions​

  • prefix (string): IPv4 or IPv6 prefix.

    Examples:

    "192.0.2.0/24"
    "2001:0DB8:0:CD30::/60"
  • prefix_object (object)

    • resource (string, format: uri-reference, required)

      Examples:

      "/subnets/123"
    • prefix: Refer to prefix.

    • description (string): Optional user-provided description.

Examples​

{
"id": 1,
"timestamp": "2018-11-13T20:20:39+00:00",
"user": "/users/100",
"event_type": "zone-prefix",
"event": "create",
"parent_zone": "/zones/123",
"changes": {
"created": [
{
"resource": "/subnets/25481",
"prefix": "192.168.1.1/32",
"description": "A prefix"
},
{
"resource": "/subnets/25482",
"prefix": "192.168.1.2/32",
"description": "Another prefix"
}
]
}
}