Using status page, I am subscribed to multiple webhooks from a few different third party services.
How different is the JSON response between these webhooks? Is it all the same?
I've been referring to this link but see two types of JSON data
Just wondering which JSON would be sent to the webhook endpoint
Hi Benjamin, welcome to the Community!
The two different JSON values on the page show the payloads for incidents (a particular time something happened) and components (each item that's listed on your status page, such as "API" or "Authentication"). A little more explanation around components is available here.
Typically when an incident is created, one or more components will be listed as affected. For example, on this recent Trello incident, both the API and Trello.com components were affected:
In the webhook payloads, there will be component and incident objects you can filter for. Depending on how you're consuming the webhooks, you might not need both the incident and components. For example, if you're putting the status of a service on a big traffic light in your office, you'd only really need the component payload, and just update your traffic light based on the status_indicator value.
I hope that explains the difference a bit, but I'm happy to provide more guidance if you've got a particular use-case you need help with.
We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events