Skip to Content
MinexonMinexon

vote.list

Returns active voting sites and player-specific vote timing.

GET/api/v1/{locale}/vote

API scope vote.list

Request

Send Authorization: Bearer <key> with each request.

Path parameters

FieldTypeRequirementDescription
localetr or enRequiredRequest locale.

This endpoint takes no request body.

Run samples from your application server. See Quickstart for variables and sessions.

curl --fail-with-body --request GET \
  -H "Authorization: Bearer $MINEXON_API_KEY" \
  "${MINEXON_BASE_URL}/api/v1/en/vote"

Response

HTTP 200 · application/json

The fields below are inside the response’s data object.

FieldTypeRequirementDescription
localestringRequiredResponse locale.
errorstring or nullConditionalAction error. Can be empty on success.
errorsarray or objectConditionalField or form validation errors.
noticestring or nullConditionalAction notice.
listingsarrayRequiredActive voting sites.
Nested fields
FieldTypeRequirementDescription
listings.vote_urlstringConditionalVoting-site URL with the player username substituted.
listings.lastVotestring | nullConditionalISO 8601 timestamp of the last confirmed vote.
listings.nextVotestring | nullConditionalNext eligible vote time while a cooldown is active.

Selected fields from an example response

{
  "data": {
    "locale": "en",
    "listings": []
  }
}

Flow and error cases

Shared error and authentication contract