This endpoint returns the system’s current lifecycle phase. Every client-facing page uses this value to decide which UI to render — whether to show the registration form, the ballot, or the published results. Poll this endpoint at page load to gate access to phase-specific features.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Crypto-Project-ENSTA/front-end/llms.txt
Use this file to discover all available pages before exploring further.
Response fields
The current lifecycle phase of the voting system.
Status values
register— Registration is open. Voters can enroll but no ballots can be cast yet.vote_started— Voting is active. Registered voters can submit their ballots.vote_ended— Voting is closed. Ballots have been counted and results are available atGET /results/tally.