vote
Fetch detailed vote statistics for a resource.
Changed onRetrieve a detailed vote count for a specified resource, including the number of upvotes, downvotes, and the overall vote balance.
get/api/v1/vote/{resourceId}
Request
- The document declares no server URL.
- Auth: none declared
Path parameters
resourceIdstring required
Example:cln2u09xo0037s6wvbf6t9jfg
ID of the resource to be retrieved.
Response
Successfully retrieved detailed vote statistics for the specified resource.
Example response
{
"upvote": 14,
"downvote": 2,
"total": 12
}Changes
- info
api operation id
listVoteswas added
- info
- info
added the non-success response with the status
- info
removed the non-success response with the status
- info