Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

List of all spaces with created user in confluence cloud

Charan goud
Contributor
July 12, 2019

Hi Team,

For auditing purpose, I need all spaces in the wiki with created user  

example:

Space name               created a user name             last update space 

A                                   Jhon                                    date

B                                    Mark                                   date

C                                     Mike                                   date

1 answer

0 votes
Mirek
Community Champion
July 12, 2019

You can use REST API to get all spaces

https://developer.atlassian.com/cloud/confluence/rest/#api-space-get

and to get the last updated date you might need to get content history and check the latest update date..

https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-history-get

or

https://developer.atlassian.com/cloud/confluence/rest/#api-space-spaceKey-content-get

and sort this date by date and return the earliest date (that would be your last updated content per space)

Wen you want to find who created that space (usually is the creator of home page) so in get space api you have ability to get that info from "homepage" parameter

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events