getPageVersionDetails method
Retrieves version details for the specified page and version number.
Permissions required: Permission to view the page.
Implementation
Future<DetailedVersion> getPageVersionDetails(
{required int pageId, required int versionNumber}) async {
return DetailedVersion.fromJson(await _client.send(
'get',
'pages/{page-id}/versions/{version-number}',
pathParameters: {
'page-id': '$pageId',
'version-number': '$versionNumber',
},
));
}