Using Rest API to get Confluence Page Properties sometimes returns HTML tags

After some searching, i was able to find a way to use the rest API to get the Page Properties created by the Page Properties Macro (using masterdetail/1.0/detailssummary/lines).  But at some point, the API started returning HTML tags along with the data ('<div xmlns=\"\" class=\"content-wrapper\"><p><br/></p></div>' is an example of returning an empty data field).  I was able to fix it by deleting the tables and recreating them from scratch, but not sure how or why this happens in the first place.

Has anybody run into this, or know of a better way to pull the page properties?

1 answer

I think I'm trying to do something similar but am also stuck.

I'd like to use the Confluence API to get the actual data entered for a confluence page tracking statements of work / contracts

that I can then pull into a BI analytics tool like Qlik or Tableau to look at projects over time, budgets, deliverables, timelines, etc.

I can't figure out what url to use to get at any of this.


confluence page properties example.JPG 




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,040 views 2 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you