I have a responses table macro to store submitted responses of a form. I wanted to extract the responses table macro body and I've used
/rest/api/content{id}/history/{version}/macro/id/{macroId}
but the output I got has empty macro body.
{'name': 'responses-table', 'body': '', 'parameters': {'formId': {'value': 'my_response_table_name'}}, '_links': {'base': 'https://my_confluence_page_url', 'context': ''}}
I've also made sure the response table is not restricted to admin. Did I miss anything here?
You can get the html markup of the page using body.view.
http://example.com/confluence/rest/api/content/1234?expand=space,body.view,version,container
I am pretty sure the data stored by the form is not stored within the page storage format and therefore the body is empty.
Cannot tell where do they store the actual data, but clearly not on the page itself (in the macro body)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the actual data is stored in the confluence form with a unique form id, but REST does not have endpoint to extract the confluence form either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.