Skip to main content
POST

EXPERIMENTAL: This endpoint is experimental and subject to change, do not rely on it yet. It is meant to replace /v0/admin/sv/voteresults/count, which will be deprecated once this endpoint is validated. Counts the vote results that /v1/admin/sv/voteresults lists for the same filters. Fails with 503 Service Unavailable until this Scan holds all vote results since the start of the network.

Body

application/json
string
Only return vote results whose action name contains this string, e.g., SRARC_AddSv.
boolean
Only return vote results that were accepted (true), or that were rejected or expired (false).
string
Only return vote results whose requester name contains this string.
string
OpenAPI type: string (date-time).Only return vote results whose effectiveAt is at or after this time. Vote results without an effectiveAt (rejected or expired ones) never match.
string
OpenAPI type: string (date-time).Only return vote results whose effectiveAt is at or before this time. Vote results without an effectiveAt (rejected or expired ones) never match.

Responses

200

ok
application/json
integer (int64)
required
The number of vote results matching the request filters.

400

bad request
application/json
string
required

500

internal server error
application/json
string
required

503

service unavailable
application/json
string
required

History

Added0.10.4