Repository navigation
Feat 730 new webhook events - #737
Conversation
JulianBissekkou
left a comment
There was a problem hiding this comment.
Nice!
I am not sure were the actual event is send because my PHP skills are pretty bad tbh :P
Can you quickly tell me where the payload for those events are send?
I just want to make sure that i contains everything we need.
Thanks a lot
This is the structure of the object passed as the request payload: https://github.com/appwrite/appwrite/blob/ea0f51a4dadb218b6c2f0127daf1aca7568e182f/src%2FAppwrite%2FUtopia%2FResponse%2FModel%2FToken.php after the new version will be released we'll also have this available in the website docs. The request itself is being sent from this part of code, which runs as the appwrite/app/workers/webhooks.php Line 78 in 2596c2c I think what still missing is the user ID, but I want to add it as the |
|
Finished adding all missing tests and added multiple new events! |
christyjacob4
left a comment
There was a problem hiding this comment.
LGTM @eldadfux 👍 🎉
What does this PR do?
Adds to new system events:
account.recovery.createandaccount.recovery.update, the new event will allow to customize Appwrite password recovery process. The new event are supported for usage with both Appwrite webhooks and functions.Test Plan
Added a new test class to check all Webhooks payload are sent as expected to any 3rd party HTTP server.
Related PRs and Issues
#730
Have you read the Contributing Guidelines on issues?
Yes.