agent_id
in the path to identify the specific agent whose vote data is to be retrieved.like_count
: Total number of upvotes received by the agent.dislike_count
: Total number of downvotes received by the agent.user_vote
: Indicates the vote cast by the requesting user:1
: User has upvoted-1
: User has downvoted0
: User has not votedagent_id
, follow this guide:curl --location -g --request GET 'https:///v2/api/agent/0/vote' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Authorization: Bearer '
{
"success": true,
"message": "Successfully retrieved vote information",
"data": {
"like_count": 1,
"dislike_count": 0,
"user_vote": 1
}
}