How does the Content Body endpoint work

Clayton Salem
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!
September 28, 2018

I'm trying to create a page from html using the create content api endpoint: https://developer.atlassian.com/cloud/confluence/rest/#api-content-post

In the documentation there's reference to the body object, which has a number of possible keys, view, export_view, storage, etc. But there's no explanation what those do. The `storage` key sort of works, but errors on any html more complex than heading tags. The `view` tag allows the same page to be created, but there's no content when I view it. 

Any explanations? Also, which should be used for html content?

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events