Votes
Get the top voters for the last 30 days
Changed onget/votes/top-voters
Request
- Base URL: localhost:4000/api (relative, and the document was published on a file host, not at the API’s origin)
- URL: localhost:4000/api/votes/top-voters
- Auth: none declared
Query parameters
limitinteger
How many voters to return. Must be a whole number between 1 and 100; anything else is rejected with a 400. Defaults to 5 when omitted, but an empty value is not the same as omitting it and is rejected.
Response
successful operation
Changes
- breaking
for the
queryrequest parameterlimit, default value5was added - breaking
for the
queryrequest parameterlimit, the min was increased from0.00to1.00 - warning
for the
queryrequest parameterlimit, the max was set to100.00 - info
added the non-success response with the status
- breaking
- info
endpoint added
- info