Hi,
At this moment it is not possible as the current library does not support custom endpoints.
We have an issue for that: https://github.com/GetPublii/Publii/issues/596
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!