I know how to create a page through REST API and set its property like
content-appearance-draft → full-width
content-appearance-published → full-width
using two Create page property calls.
Now I need to use compact density rather than standard density. I can click icon in edit mode but I dont know if it can be set through REST API.
Thanks
Hello @ZhichaoWei
There are no Confluence Cloud REST API endpoints that I know of that allow you to enable “compact density” for a page, because the density setting is handled entirely in the Confluence front-end as a user UI preference, not as part of the page’s metadata or content model.
Because of that, the setting isn’t stored on the page and therefore isn’t exposed through any of the content or look-and-feel endpoints.