Currently there is not nice and clean solution for that. We used some workarounds but these were unstable and prone to get broken.
We raised a feature request at https://jira.atlassian.com/browse/CONF-37129 so please do not forget to vote it and to comment on it, explaining Atlassian how important is to add the minimal level of functionality for working with templates via REST.
Confluence REST API is in deep development yet. Please see the https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e120 for the list of possibilities. And as I see from the https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/api/service/content/ContentService.html and https://docs.atlassian.com/atlassian-confluence/latest/com/atlassian/confluence/api/model/content/Content.html - there are no hidden variables that could help with POST query (the only one is the metadata). If you need such kind of REST service - you can write / order your own that will extend needed functionality.
As for the other possibilities - please see https://answers.atlassian.com/questions/58952/page-from-template-using-xml-rpc-or-soap-api for the details
And as I see https://docs.atlassian.com/atlassian-confluence/latest/index.html?com/atlassian/confluence/rpc/soap/ConfluenceSoapService.html - there are no specific methods to work with templates.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs