The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events