GET
method
/votes
path

Query Parameters

Below are the query parameters available for customizing the response:

id
string | undefined

Unique identifier for a specific vote.

postId
string | undefined

Identifier for a specific post to find votes for.

voterId
string

Identifier for a specific voter to find their votes.

sortBy
asc | desc
default: "asc"

Specifies the sorting order of the votes based on their creation dates (asc or desc).

sortBy
asc | desc
default: "asc"

Specifies the sorting order of the votes based on their creation dates (asc or desc).

limit
1-100
default: "10"

Specifies the maximum number of votes to retrieve in one request.

page
1-n
default: "1"

Specifies the page number for pagination.