Creating Page Body Content, where is the documentation for different formats?

Hi,
I am using Confluence REST API to create a Page with some content.
Using the api https://developer.atlassian.com/cloud/confluence/rest/#api-api-content-post , I am able to create a page but I can’t find documentation for the parameter body text in BODY PARAMETERS.
The example given in docs is:

{
  "view": {
    "value": "<string>",
    "representation": "view"
  },
  "export_view": {
    "value": "<string>",
    "representation": "view"
  },
  "styled_view": {
    "value": "<string>",
    "representation": "view"
  },
  "storage": {
    "value": "<string>",
    "representation": "view"
  },
  "editor2": {
    "value": "<string>",
    "representation": "view"
  },
  "anonymous_export_view": {
    "value": "<string>",
    "representation": "view"
  }
}

What is the documentation for different value formats?

1 Like