#xarm

1 messages · Page 1 of 1 (latest)

hallow agate
#

Hello! It depends on your integration, really. If expanding fits your use case better you should use it. If fetching the Subscription alone works better, go with that. 🙂

slow steppe
#

ok thanks, I guess a sort of side question was if expansion would be deprecated at any point or if I can trust it. From your recommendation I presume I can trust it. Thanks

hallow agate
#

Expansion isn't going anywhere, and it's quite useful and encouraged over making many separate API calls most of the time!

slow steppe
#

ah ok, thanks for the info

#

one last question sorry, how does one request an expanded event object before hand?

hallow agate
#

Like for a webhook?

slow steppe
#

yeah, to receive on the webhook the expanded object, with subscription

hallow agate
#

Unfortunately you can't do that. You would need to fetch the information from the API after receiving the event.

slow steppe
#

ah ok thanks. So in the end I'd have to send a request to the API regardless, no worries. Initially I was hoping I could get all the info I needed from the event itself.

#

I'll look into requesting from the API then, thanks

hallow agate
#

Happy to help!