Confluence REST API expanded Body Storage structure Q - multiple value sections possible?

Nick September 7, 2018

Hi Confluence API gurus,

I have succeeded in querying the REST API to pull out the full body content of a single record/page via:

https://<domain>/rest/api/content/12345?expand=body.storage

my challenge is that:

1) the entire record/page content is stuck in single body.storage.value field vs separate values based on page headings/sections etc

2) our page content is typically several screens worth of long form text/tables etc


Q. Is it possible to edit the underlying page template structure to create another "value" section(s) to put content in (eg value2, value3 ) that can then be queried via API when body.storage is expanded you would see value (blob of data), value2 (another blob of data), value3 (blob) etc etc?

thanks in advance!

Nick

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events