Just to clarify the context of this request…
In the SmartThings ecosystem, devices report events whenever things happen to them. For example, when a
switch is turned
on, that event is reported. Similarly, when a
unlocked that event is reported.
Events in the SmartThings Groovy ecosystem also have the ability to attach arbitrary data to an attribute’s event. So when a
unlocked, the device handler might also include a
method value along with the fact that the door was unlocked.
While the capability and event model in the new SmartThings API still have references to attaching data to an event, the documentation on the new SmartThings API doesn’t have references as to how (or if) the
data on an event can be consumed.