Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

full width layout rest api

nathan.stephane
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2022

Hey there. I’m trying to create a page with full width layout on confluence using its API.
I added the following parameters but nothing happends. It still creates the page as centered fixed width. `
metadata: {
properties:
{

"content-appearance-draft": { value: "full-width" },
"content-appearance-published": { value: "full-width" },
editor: { value: "v2" }

}
}`

Is there a workaround this ?

1 answer

0 votes
Abhishek Kalamkar March 26, 2025

For old rest API - try this

 

"metadata": {
"properties": {
"editor": {
"value": "v3"
},
"content-appearance-draft": {
"value": "full-width"
},
"content-appearance-published": {
"value": "full-width"
}

 

and for REST API v2 try this

{ body }

"key": "content-appearance-published",
"value": "full-width"

"id": "..."

Suggest an answer

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

Atlassian Community Events