-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Connect Platform, Ecosystem
-
Severity 3 - Minor
This expand does not work even if the returned JSON suggests that it should work:
GET .../rest/api/content/<pageId>?expand=history.lastUpdated.by.details
{
"id": "18972673",
"type": "page",
"status": "current",
"title": "dummy macro",
"history": {
"lastUpdated": {
"by": {
"type": "known",
"username": "admin",
"userKey": "ff80808154711efd0154711f21360001",
"profilePicture": {
"path": "/wiki/images/icons/profilepics/default.png",
"width": 48,
"height": 48,
"isDefault": true
},
"displayName": "Jens Rutschmann",
"_links": {
"self": "https://jens-k15t.atlassian.net/wiki/rest/experimental/user?key=ff80808154711efd0154711f21360001"
},
"_expandable": {
"details": ""
}
},
...
},
...
},
...
}
Because of this we need to do separate calls for each page we're exporting.