getInlineCommentVersions method
Retrieves the versions of the specified inline comment.
Permissions required: Permission to view the content of the page or blog post and its corresponding space.
Implementation
Future<MultiEntityResult<CommentVersion>> getInlineCommentVersions(
{required int id,
String? bodyFormat,
String? cursor,
int? limit,
String? sort}) async {
return MultiEntityResult.fromJson(
await _client.send(
'get',
'inline-comments/{id}/versions',
pathParameters: {
'id': '$id',
},
queryParameters: {
if (bodyFormat != null) 'body-format': bodyFormat,
if (cursor != null) 'cursor': cursor,
if (limit != null) 'limit': '$limit',
if (sort != null) 'sort': sort,
},
),
reviver: (v) => CommentVersion.fromJson(v as Map<String, Object?>),
);
}