improved
Webhooks - Airly events migrated to new version
December 6th, 2023
✨ Improvements
We migrated the Airly feed to the new webhook system. Besides existing measurement system changes, the payload looks the same as before:
{
"id": "00000000-0000-0000-0000-0000000000",
"type": "airthings-webhook-cloudevent-airly-sample-feed",
"source": "https://dashboard.airthings.com/integrations/webhooks/00000000-0000-0000-0000-0000000000?version=v2",
"dataContentType": "application/json",
"labels": {},
"data": [
{
"serialNumber": "ARL0000000",
"recorded": "2023-11-30T10:00:00Z",
"outdoorHumidity": 73,
"outdoorPm10": 28,
"outdoorPm1": 13,
"outdoorPm25": 22,
"outdoorPressure": 1002.8,
"outdoorTemp": -2.5,
"ratings": {
"outdoorPm25": "FAIR",
"outdoorPm1": "FAIR",
"outdoorPm10": "FAIR",
"outdoorPressure": "GOOD"
},
"sensorUnits": {
"outdoorPm25": "mgpc",
"outdoorPm1": "mgpc",
"outdoorPm10": "mgpc",
"outdoorHumidity": "pct",
"outdoorTemp": "c",
"outdoorPressure": "hpa"
}
}
],
"time": "2023-11-30T10:00:00.0Z",
"specVersion": "0.2"
}
🐛 Fixes
- Airly sample feed now respects unit preferences in the webhook settings.
📝 Documentation
We have updated the documentation of Webhook Event Types with the latest payload
change (see above) regarding mold feed.