I would like to write a template, usable in any spaces, that creates a page with a unique incremental ID and one of a set of allowed prefixes. This UID/prefix would be used as part of the page title and in a page property table.
We have some historical data that needs to be imported in that format as well, therefore we cannot use the Confluence UID and would need something that has a REST API as manually uploading hundreds of documents is not feasible.
The page title format would be something akin to
${PREFIX}${UID} - ${TITLE}Is that possible?