Mayor

Return Election results for a specific year

Changed on
get/api/mayor/{year}

Request

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

Path parameters

year, integer required

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 winner/minister to the response with the status (media type: text/plain)

    • info

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

    • info

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

    15 more changes in this revision