API ReferenceapicommunityGET /v1/posts/{post_id}/likes/count

GET /v1/posts/\{post_id\}/likes/count

Service: community · operationId: (none)

Required scopes

(no scope declared — review service config)

Path parameters

  • post_id (string) required

Responses

200 Like count

{
  "type": "object",
  "properties": {
    "count": {
      "type": "integer"
    }
  },
  "required": [
    "count"
  ]
}

Example

curl -X GET https://community.platform.loop.health/v1/posts/{post_id}/likes/count \
  -H "Authorization: Bearer $ACCESS_TOKEN"