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,360,259
Community Members
 
Community Events
168
Community Groups

How does the Content Body endpoint work

Edited

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
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

190 views 1 6
Read article

Atlassian Community Events