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

How can I get the list of pages and page version inside the space, by using single API?

BAVITHRA R October 22, 2021

https://bavithra.atlassian.net/wiki/rest/api/space/BAVI/content?expand=version, I didn't get all versions of my page inside the space by using this API :(

1 answer

1 accepted

0 votes
Answer accepted
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 22, 2021

@BAVITHRA R Welcome to the Atlassian Community!

You will need to use GET /wiki/rest/api/content/{id}/version endpoint to get versions of a page on confluence cloud. Refer this documentation.

BAVITHRA R October 23, 2021

Yes, it's okey for getting version of page, but i want to get versions of all page in a space by using single API, is this possible

 

Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 24, 2021

It is not possible to get versions of all pages in a space using a single API. You will need to first read all pages and then get versions of them. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events