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, which will be deprecated once this endpoint is validated. Lists the results of closed vote requests, i.e., of exercised DsoRules_CloseVoteRequest choices, that match the request filters.

Body

application/json
object
OpenAPI type: VoteResultsFiltersV1.EXPERIMENTAL: subject to change. Filters for vote results. A vote result is returned if it matches all filters that are set.
number
required
OpenAPI type: integer (int32).The maximum number of vote results returned for this request.Minimum: 1; Maximum: 1000.
string
Cursor for pagination. To request the next page of results, pass the next_page_token of the previous response, together with the same filters. The cursor is opaque.

Responses

200

ok
application/json
VoteResultV1[]
required
string
Cursor for the next page of results. Pass this as page_token in the next request. Absent if this page is empty, which means that there are no more pages. A page that is not empty always has a cursor, even if it is the last one.

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