Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create a new page in space from template Edited

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

0 votes
Thomas Deiler Community Leader Apr 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

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 Apr 11, 2021

you are welcome :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Product feedback on Inline Comments

Hello Community members! We have an upcoming research study for Confluence and we’d like to invite you to provide advice and answer questions. We’re developing a new experience for Inline Comment...

85 views 7 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you