Votes

Get the top voters for the last 30 days

Changed on
get/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 query request parameter limit, default value 5 was added

    • breaking

      for the query request parameter limit, the min was increased from 0.00 to 1.00

    • warning

      for the query request parameter limit, the max was set to 100.00

    • info

      added the non-success response with the status

    • info

      endpoint added