Closed jordipainan closed 5 months ago
Request:
curl -X POST https://<api-server-url>/elections/id -H 'Content-Type: application/json' -d '{ "organizationId": "<hexbytes>", "censusOrigin": <number>, "envelopeType": { "serial": <true/false>, "anonymous": <true/false>, "encryptedVotes": <true/false>, "uniqueValues": <true/false>, "costFromWeight": <true/false> } }'
Response
{ "electionID": "some-encoded-election-id-string" }
done in the SDK: https://github.com/vocdoni/vocdoni-sdk/pull/316
Request:
Response