I am trying to get the breakdown of pages by space using the Confluence Cloud REST API iteratively

Cami April 11, 2023

I want the breakdown of pages in a space for all spaces in an instance. There is an API call that requires a specific space key to be hard coded but I want to achieve this for all spaces. https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-spaces-id-pages-get

 

I believe I need to make a general space API call then parse those results for space keys which will then be used to make the specific calls but I was hoping for some advice on how to achieve this as I am still very new to Forge. 

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 31, 2023

@Cami does it have to be in Forge or can you use other programing languages?

Cami August 1, 2023

@Brant Schroeder it does need to be in Forge. Thanks! 

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 1, 2023

@Cami I would suggest making a post in the developer community https://community.developer.atlassian.com/ 

Suggest an answer

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

Atlassian Community Events