Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

1.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@jcornaz jcornaz released this 05 Oct 20:48
· 12 commits to master since this release

Added

Web service methods

  • GET / return the app name, description and version
  • GET /version return the version of the web service
  • POST /poll/create Create a new poll (safe or unsafe)
  • POST /poll/createTokens Create new tokens for a poll
  • POST /vote Submit a ballot and consume the vote-token
  • DELETE /poll/close Close a poll and return the result

Support of voting methods

Other

  • API documentation with Swagger (UI at /swagger-ui.html)
  • Automatically delete expired polls (a poll expire 30 days after it creation)