Hi. I’ve been building a Forge app that used a page’s history as part of it. Up to now, I’ve been using the REST API to capture this with : /wiki/rest/api/content/{contentId}?expand=history.ownedBy,history.lastUpdated.
It returns :
"history": {
"lastUpdated": {
"by": {
"email": "email1@sth.com",
"displayName": "displayname1",
...
},
...
},
"createdBy": {
"email": "email2@sth.com",
"displayName": "displayname2",
...
},
"ownedBy": {
"email": "email3@sth.com",
"displayName": "displayname3",
...
},
...
}
I need those attributes for the app, but in V2, it returns only ids, so I will have to get user information for each one(3). Is it possible that /wiki/api/v2/pages/{contentId}?include-labels=true&include-versions=true returns more information than id?
Thanks.