Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Create a new page in space from template

Nils Schieschke April 8, 2021

Hello,

I have a question about creating new pages using the rest API with Java.

 In my space, I created a template. I think the entityId is the templateID?

However, when accessing the page /rest/api/template/{templateID}, I get a 404 error. 

Am I using the wrong ID?

1 answer

1 accepted

0 votes
Answer accepted
Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2021

Dear @Nils Schieschke ,

have you tried to user "content" instead of "template"? If this is not working, you could save your template as a normal page and then read the page to create a new one.

So long

Thomas

Nils Schieschke April 11, 2021

Thanks for your answer. I also tried content, did not work as well.

I think for now I will do as you said, save the templates as pages and load the body, thanks.

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 11, 2021

you are welcome :)

Thomas Deiler
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 5, 2021

Dear @Nils Schieschke , don't forget to press the "green accept answer" button to indicate other readers the successful answering of your question.

So long

Thomas

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events