decred / politeia

ISC License
110 stars 75 forks source link

comments: Allow retrieving all comment votes. #1598

Closed amass01 closed 2 years ago

amass01 commented 2 years ago

Background:

The comment votes endpoint currently only allows you to retrieve comment votes for a specific user ID. This initial implementation was restrictive because that was all that politeiagui needs. Opening up the endpoint to allow a client to retrieve all comment votes made on a proposal, without needing to provide a user ID, has been requested in order to help analyze the proposal process. Comment votes are already public, so there is no reason to not allow this.

Implementation:


Closes #1591.