ogmake

← All templates

Ballot

Option squares with one pencil X — polls, decisions, RFC outcomes.

Ballot template preview

Try it

POST /v1/images, Bearer-authenticated, with this template id and params — see the quickstart for how to get a key, and for a signed-URL example that links straight to a cacheable, cache-forever image URL without a server round trip.

curl https://ogmake.com/v1/images \
  -H "Authorization: Bearer og_live_..." \
  -H "Content-Type: application/json" \
  -d '{
  "template": "ballot",
  "params": {
    "question": "Which render engine should we ship?",
    "options": [
      "Chromium",
      "WebKit",
      "Skia"
    ],
    "chosen": 1,
    "site": "ogmake"
  }
}'

This template requires an array field (options) — over a GET route (Public URLs, Signing) it's carried as bracket-indexed query keys instead of a JSON array; see the reference's "Array fields on GET routes". A working public-URL example (mint a real key in the dashboard to replace k_yourkeyid):

GET https://ogmake.com/p/k_yourkeyid/ballot?question=Which+render+engine+should+we+ship%3F&options%5B0%5D=Chromium&options%5B1%5D=WebKit&options%5B2%5D=Skia&chosen=1&site=ogmake

More templates.