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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,371
Community Members
 
Community Events
184
Community Groups

Is it possible to create a page with full page width via api ?

 

When I create a new page in Confluence Cloud using the editor, I get the option to use the "set full page width". How can I configure the full page width option when creating a page via API?

This is my API Call:

POST

/wiki/rest/api/content/

 

{"type":"page","title":"Testpage", "ancestors":[{"id":2654304}], "space":{"key":"KB"},"body":{"wiki":{"value":"<h1>Test</h1><p>Is it possible to create a page with full page width via api","representation":"storage"}}}
Best regards, 
Michael

1 answer

Did you ever work this out? I found this page which lists metadata solution but I don't think it works for V2 APIs (at least, doesn't work for me)

'metadata': { 'properties': { 'content-appearance-draft': { 'value': 'full-width' }, 'content-appearance-published': { 'value': 'full-width' } } }

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events