Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to set multiple webhooks on the same path #42

Merged
merged 1 commit into from
Aug 25, 2024

Conversation

jordipiqueselles
Copy link
Collaborator

If we define different webhooks with the same value on the "path" field, then these webhooks will be called in sequence when the server receives a request for the given path. The resulting "accept" responses will be ANDed and the patches will be concatenated. Notice that a given webhook will see the patches from the previous webhooks already applied to the object that it must inspect.

If we define different webhooks with the same value on the "path" field,
then these webhooks will be called in sequence when the server receives
a request for the given path. The resulting "accept" responses will be
ANDed and the patches will be concatenated. Notice that a given webhook
will see the patches from the previous webhooks already applied to the
object that it must inspect.
@jordipiqueselles jordipiqueselles added the enhancement New feature or request label Aug 25, 2024
@jordipiqueselles jordipiqueselles merged commit 1a65b5f into main Aug 25, 2024
2 checks passed
@jordipiqueselles jordipiqueselles deleted the jordi/multiple-webhooks-same-path branch August 25, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant