Event List

When I use the url
https://graph.api.smartthings.com/api/hubs/#id# gets all the events regarding the Device only. But to get the HUB events what url should I use?

Not sure if this is still the case, but I have this in my notes from about 6 months ago

Hub EventsGet the last few (currently 10) events for a hub.
https://graph.api.smartthings.com/api/hubs/idHashString/events
Params
 all=<boolean> 
 max=<number> 
 source=<boolean> 
Note: The response looks just like the account events endpoint response.

Here’s where I got this from. It was last updated in 2013 so it may be out of date

The event sources for that url is
"eventSource":“DEVICE”

I want the evenSource for HUB.

Try this

https://graph.api.smartthings.com/api/hubs/#ID#/events?source=hub

it’ll default to 10 max, you can also add &max=100