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