Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Page Properties Access Via API

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:

 

https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-retrieve-metadata-from-Page-Properties-using-REST-API/qaq-p/468443

 

https://community.atlassian.com/t5/Confluence-questions/Is-there-a-rest-api-to-post-the-page-properties/qaq-p/814823#U1416216

 

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. 

1 answer

Hi @charlie_gavins 

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

343 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you