So, I am trying to work through this and I found the following post/tutorial that is very helpful:
I was able to create the following webhook template and so far it seems to be working when I publish the web hook through the particle CLI and review the output in the particle dashboard. I'm going to create some test code next to run on the particle photon. I'm crossing my fingers and I hope that my template below is correct.
{
"event": "bustime_hook",
"url": "http://bustime.mta.info/api/siri/stop-monitoring.json?key=MY_KEY&OperatorRef=MTA&MonitoringRef=402205&LineRef=MTA%20NYCT_M57&MaximumStopVisits=1",
"requestType": "GET",
"headers": null,
"query": null,
"responseTemplate": "{{#Siri}}{{#ServiceDelivery}}{{#StopMonitoringDelivery}}{{#MonitoredStopVisit}}{{#MonitoredVehicleJourney}}{{#MonitoredCall}}{{#Extensions}}{{Distances.StopsFromCall}}{{/Extensions}}{{/MonitoredCall}}{{/MonitoredVehicleJourney}}{{/MonitoredStopVisit}}{{/StopMonitoringDelivery}}{{/ServiceDelivery}}{{/Siri}}",
"json": null,
"auth": null,
"mydevices": true
}
Dashboard output: