Mayor

Gets election data between two Timestamps

Changed on
get/api/mayor

Request

  • Base URL
    https://sky.coflnet.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

from, string date-time

Start ISO 8601

to, string date-time

End eg. 2022-09-22T20:03:10.937Z

Response

OK

CoflnetSkyMayorModelsModelElectionPeriod[] required
candidates, CoflnetSkyMayorModelsModelCandidate[] nullable
end, string nullable
id, string nullable
start, string nullable
winner, CoflnetSkyMayorModelsModelWinner
year, integer required

Changes

    • info

      added the optional property items/winner/minister to the response with the status (media type: text/plain)

    • info

      added the optional property items/winner/minister to the response with the status (media type: application/json)

    • info

      added the optional property items/winner/minister to the response with the status (media type: text/json)

    15 more changes in this revision