I am trying to publish pages with templates to confluence using REST API. I was able to publish a page with template by using the existing page template "storage" content. The problem here is to update the metadata field from API. We are using "Metadata for Confluence by Communardo" add-on for configuring our metadata.
The page with a template I published should have the metadata configured. All this should be done from REST API. I would appreciate any help with this. Thanks.