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:
http://localhost:8090/rest/api/search?cql=space.key=MYSPACE+AND+type=space
But again that may need to be modified for Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome @Praveen Kukreja :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.