Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,650
Community Members
 
Community Events
175
Community Groups

Get list of pages with number of versions

For example:

  1.  Page One - 100 versions.
  2.  Page Two - 500 versions.
  3.  Some Other Page - 3 versions.

It will be also good to have direct links to pages and sort pages in descending order (from high number of versions to low).

  1.  Page Two - 500 versions - link.
  2. Page one - 100 versions - link.
  3.  etc

 

2 answers

0 votes
WW Rising Star Dec 27, 2022

You can pull the page version numbers with the Confluence REST API, if you're up for it, with something like this:

http://example.com/confluence/rest/api/content?spaceKey=TST&expand=space,version

Just swap out your space key for TST and, of course, the first part of the URI with your Confluence instance.

You can even put the URI into a browser to get the results. Some browsers, like Firefox, will automatically parse the Json that's returned. Otherwise, you'd need to parse the data or search on "version" to get the results.

To display this in a Confluence page, you'd need to do some heavier coding, though.

0 votes
Ana Retamal Atlassian Team Sep 06, 2017

Hi Pavel, currently it's not possible to obtain that information. Page history is not cached, so it would need to retrieve this data from the database everytime you call for it. You can submit a Feature request for this, but at the moment this operation wouldn't be recommended as it would cause a high load for the database.

Regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events