v8

latestOpenAPI 3.0.2raw.githubusercontent.com2025-07-05181151306.2 KB
Hub

Vote on an AI Answer

Vote on an AI answer within a specific hub, identified by the hub's UUID and the answer's UUID

post/v1/hub/{hub_id}/ai-answer/{answer_id}/vote

Path parameters

hub_idstring uuid required

UUID of the hub

answer_idstring uuid required

UUID of the answer to vote on

Request body

voteboolean
commentstring

Response

Vote successfully registered

metadataobject
datastring

Example response

{
  "data": "Vote registered"
}