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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Creating page through REST API requires edit+publish for correct format Edited

Hi there,


I'm testing out the REST API to post and create a new page using the storage representation and html content. However when I view the page it hasn't formatted quite a few things. The main issues I see are:

1. The page is full width, even though it should be centred with plenty of padding (Not through HTML settings but the space templates)

2. Code sections aren't formatting correctly.

Both of these issues are 'magically' resolved once I click to edit the page and publish - which makes me think there's some trigger happening for the format. Is there a way to trigger this functionality through the API?


Edit: It seems like the main things that are changing between the content on edit/publish through the UI is the code macros.

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

335 views 23 8
Join discussion

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