Site Name as a Webhook Field [API]

Webhooks are an intuitive method of collecting data by having real-time events push their information onto a provided URL to be used for data analysis. We are including an additional “site_name” field in the following webhook topics: device-events, alarms, audits, and client-sessions. This helps when monitoring webhook data for multiple sites – users do not need to use the site_id to identify what site they are looking at. The site_name field will appear on both org level and site level webhooks. Here are some example outputs with the site_name included:

{
  "topic": "alarms",
  "events": [
    {
      "aps": ["5c5b350eXXXX"],
      "group": "infrastructure",
      "id": "12348fc7-243f-45b4-b7a1-996465703e85",
      "org_id": "d8a47c8f-ece3-4d74-8562-4156a849e738",
      "severity": "warn",
      "site_id": "8fiemf92-68f2-4427-a895-d405833d7ac7",
      "site_name": "Cupertino_Office",
      "timestamp": 1560507377,
      "type": "device_down"
     }
  ]
}

{
  "topic": "device-events",
  "events": [
    {
      "org_id": "d8a47c8f-ece3-4d74-8562-4156a849e738",
      "site_id": "8fiemf92-68f2-4427-a895-d405833d7ac7",
      "site_name": "Cupertino_Office",
      "timestamp": 1560509087,
      "type": "AP_RECONFIGURED",
      "ap": "5c5b350eXXXX",
      "ap_name": "Production AP",
      "audit_id": "6175746f-0000-0000-3157-000000000000"
    }
  ]
}