Confluence PDF Export - How to fetch page parent and page last modified date?


I’m putting together a template for an entire space that will be exported into a manual. I’m using an old version of the k15t PDF Exporter to help accomplish this task and have two issues that are blocking me from completing the template.

I’ve reviewed the API documentation and cannot seem to find a way to grab the page’s parent (for example, if I have a page Apple Colors in the section Apples, I want to fetch “Apples”)

Also, how can I fetch the current page’s last modified date? I’ve tried “$dateTimeFormatter.format($lastModificationDate, “M-”)” but that seems to only get it for the first page of the export.