SenseNet / sensenet

Open Source Content Services Platform written in .NET
https://sensenet.com
GNU General Public License v2.0
174 stars 111 forks source link

Webhook Events (discussion) #2076

Closed VargaJoe closed 1 month ago

VargaJoe commented 3 months ago

During multichunk upload processes, there is uncertainty regarding the timing of webhook event triggering. Specifically, it is unclear whether the Create event is triggered upon the initial creation of content in the first step of the process or if it occurs during subsequent Modify events. Based on current observations, it appears that the Create event is only triggered after the completion of the final chunk and no Modify event is triggered.

Currently, webhook events are not triggered when Content is locked, which aligns with the expected business logic. Between Content lock and check-in, webhook events remain inactive. Subsequently, when the content check-in occurs, the Modify event triggered by the webhook payload appears to contain only the latest modifications, omitting any changes made between the locked and checked in stages. It is essential to ensure that webhook events triggered after content check-in provide comprehensive information about all changes made during the entire content modification process.