getFooterCommentVersionDetails method

Future<DetailedVersion> getFooterCommentVersionDetails({
  1. required int id,
  2. required int versionNumber,
})

Retrieves version details for the specified footer comment version.

Permissions required: Permission to view the content of the page or blog post and its corresponding space.

Implementation

Future<DetailedVersion> getFooterCommentVersionDetails(
    {required int id, required int versionNumber}) async {
  return DetailedVersion.fromJson(await _client.send(
    'get',
    'footer-comments/{id}/versions/{version-number}',
    pathParameters: {
      'id': '$id',
      'version-number': '$versionNumber',
    },
  ));
}