Create a vote collection
Creates a new vote collection with a default question and two answer options. Validates event/unit/date constraints. For private vote collections, the creator is automatically added as an eligible voter. Requires HR_LOCAL permission.
Authorizations
Server-to-server authentication. Generate a token in the admin UI at
Settings → Developers → API Access. Send the raw token in the
Api-Token header — there is no Bearer prefix.
Tokens can be marked read-only at creation time, in which case the API
rejects any non-GET request with 403 Forbidden.
Body
The new VoteCollection resource
"/api/v1/users/1"
"/api/v1/units/1"
"/api/v1/events/1"
Response
VoteCollection resource created

