I am building a simple server to automate some parts of my workflow with Trello, and I registered a Webhook for one of my boards.
I noticed that the Webhook payload provides a type in `action.type`, but this seems very generic. For example, any operation on a card will send the `update_card` action type. At the moment, I am inspecting `action.data` and trying to infer the kind of update that was performed on the card.
Is there a better way to identify the kind of operation? If not, would it be possible to attach it to the payload in order to simplify this process?
Thanks
Hey @[deleted]
Webhooks are a little beyond the scope of my support, but one of our engineers did want me to share their gist to help differentiate those:
https://gist.github.com/mpcowan/4574e6e1ea0edb321047733f982a7d16
That should help with what you suggested, but for now, we don't have plans to change our behavior of those webhooks.
I hope that helps!
Thanks, that might help!
I'd like to take the opportunity to ask about the `action.type` used for the following operations:
why aren't they `updateCard` action types?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.