Skip to content

Add poll creation - #3

Merged
Fizzadar merged 1 commit into
mainfrom
nick/plat-39676-create-polls
Oct 28, 2026
Merged

Fizzadar merged 1 commit into
mainfrom
nick/plat-39676-create-polls

Conversation

@Fizzadar

Copy link
Copy Markdown

Adds `CreatePoll`, which returns the created poll and the ID of its `poll.created` announcement message so callers can match the push echo. Poll validation errors come back keyed by field (`{"options": "..."}`) rather than as a list, so `Meta` now decodes both shapes.

🤖 Generated with Claude Code

@Fizzadar

Copy link
Copy Markdown
Author

Tested live against GroupMe with the connector change on a self-hosted bridge: creation returns 201 in the usual envelope with the announcement ID matching the pushed message, and the option count and >14 day expiry rejections come through with GroupMe's reasons.

@Fizzadar
Fizzadar merged commit 4ccebf5 into main Oct 28, 2026
2 checks passed
@Fizzadar
Fizzadar deleted the nick/plat-39676-create-polls branch October 28, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant