I would love to be able to access the page properties macro for an individual page, via REST API. It seems it MAY be possible using masterdetail: I get the following JSON from this GET request:
https://www.example.org/rest/masterdetail/1.0/detailssummary/lines?cql=id={myID}&spaceKey={myPUB}
{ "currentPage": 0,
"totalPages": 1,
"renderedHeadings":
[ "Audio Code(s)",
"Event Date",
"<p xmlns=\"http://www.w3.org/1999/xhtml\">Event Location</p>",
"Event Name",
"Notes",
"Proof-read By",
"Proofed By",
"Transcribed By",
"Transcript Status" ],
"detailLines": [],
"asyncRenderSafe": false}
I have seen someone with same issue here, unanswered in SO:
https://stackoverflow.com/questions/62327802/get-page-properties-using-confluence-rest-api#
And some discussion here:
I would love to update page properties with a new field, and then batch update all pages with this. It's perhaps possible but there is no documentation on the 'masterdetail' section of the API.
Anyone with any thoughts on a workaround would be much appreciated!
Kind regards,
Charlie.
Any luck with accessing page properties macro via API?
I am trying to create this macro via API, and I cant seem to find a POST url for page properties macro.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.