Skip to content

Function: getBlogPostLikeCount()

ts
function getBlogPostLikeCount(client, parameters): Promise<{
[key: string]: unknown;
  count?: number;
}>;

Defined in: src/v2/api/like.ts:25

Returns the count of likes of specific blog post.

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

Parameters

ParameterTypeDescription
clientClient-
parameters{ id: number; }-
parameters.idnumberThe ID of the blog post for which like count should be returned.

Returns

Promise&lt;{ [key: string]: unknown; count?: number; }>