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=\"http://www.w3.org/1999/xhtml\" 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,701 views 24 10
Join discussion

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