getBlogPostLikeCount method

Future<Map<String, dynamic>> getBlogPostLikeCount(
  1. int id
)

Returns the count of likes of specific blog post.

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

Implementation

Future<Map<String, dynamic>> getBlogPostLikeCount(int id) async {
  return await _client.send(
    'get',
    'blogposts/{id}/likes/count',
    pathParameters: {
      'id': '$id',
    },
  ) as Map<String, Object?>;
}