Hi,
I am wanting to use the onAfterWrite functionality to send some data to an API after a Page has been saved. As I understand (and can see in test scripts) when a Page is saved several writes occur (3 in my case). As I understand it the other writes are to do with related data in other tables ($has_one, $has_many, $many_many data etc).
Is there a way to identify during my onAfterWrite which is the write that saves the Page? I don't really want to trigger the sends to the API multiple times.
Cheers
D