While trying to figure out how to grab the version of a Confluence page via the API I came across another answer on this board that suggested the following kind of page to check for the version.
Sure enough, using this format I was able to grab the version of a specific page. However, I noticed something rather odd if I try to get this through other means.
See, I'm trying to get the ID and version of a page via knowing the space and title of the page, via a call like this:
Which returns a json value that has the page ID, like I need, but version comes up... completely blank! Nowhere to be found. Is there a good reason for this or is it a bug? As is, I have to basically call the API twice to get all the information I need for the script I'm writing and that seems kinda silly.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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...
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!
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