Hello,
I have a listener that captures when a page is confluence is updated and copies the whole content somewhere else.
But in my last test, when the event runs the script instead of sending the new information it sends how the pages was previous the update.
I am getting the content from the confluence page via rest with:
HttpResponseDecorator responseserver = (HttpResponseDecorator) clientserver.get(
path: "/rest/api/content/99976066",
contentType: ContentType.JSON,
query : [expand:'body.storage'],
I imagine that what happens is that I capture the info of the page before being update, but I do not know how to modify the rest call to capture the page after the update.
Any help?