You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to fetch the last updated timestamp of spaces. I am fine either the last updated time of any content in space or the last updated time of the space. As long as this timestamp is present in the API response of 'space' endpoint it will be fine.
I tried to expand every field in the API for spaces `/rest/api/space` but I am not able to find the updated at time of spaces.
I am expecting this since the content endpoint `/rest/api/content` does have an expandable field `
Can you point where is the field similar to `lastUpdated` in spaces endpoint ?
Hi @Praveen Kukreja this discussion on the developer community for Confluence Server indicates there is no expandable history option for the `/rest/api/space` endpoint. That discussion was for the Server version so you might want to double check the API documentation to see if that's the same for Cloud.
They also state they were able to pull the last modified date using this query:
But again that may need to be modified for Cloud.