I’m trying to retrieve the last modified date of spaces and pages using the history.lastUpdated expand. For pages it’s working, but for spaces that expand is not returned. Is it possible to retrieve the space history?
Request for pages:
http://localhost:8090/rest/api/content/12345678?expand=space,history.lastUpdated
it returns a history section
Request for space:
http://localhost:8090/rest/api/space/MYSPACE?expand=history.lastUpdated
it returns:
{
"_expandable": {
"description": "",
"homepage": "/rest/api/content/22052915",
"icon": "",
"metadata": ""
},
"_links": {
"base": "http://localhost:8090",
"collection": "/rest/api/space",
"context": "",
"self": "http://localhost:8090/rest/api/space/MYSPACE",
"webui": "/display/MYSPACE"
},
"id": 22085636,
"key": "MYSPACE",
"name": "my-space",
"type": "global"
}
Is there another expand that can be used for this case?