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

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

michael_ponewass_lv August 28, 2022

 

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

0 votes
SiDawg May 1, 2023

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