You can now set
props on webhooks to limit the data payload. This is useful for Objects with large data payloads as it allows you to limit the payload to just the data you need.
Let's look at a couple of example webhook payloads with and without props.
You get the full data payload.
That's a lot of data! Do you need it all? Maybe not. Enter props.
Get only the data you need. This example sets
Go to Bucket Settings > Webhooks to set props.
Wow, that's nice! Notice how much more concise the data payload is compared to not using props. Keep in mind that this currently only applies to first-level props (namespaced metadata declarations are not supported yet).
We hope you enjoy this quick update to make your automated workflows with webhooks more efficient. If you have any questions, please join the conversation in the Cosmic Slack channel and reach out to us on Twitter.