Digital Sovereignty for everyone

MCP abilities

Get Poll

lh-polls/get-poll Read-only Idempotent

Fetch a single poll with its options and current vote counts. Requires install_plugins. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
poll_id integer Yes The post ID of the poll.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

Get Votes

lh-polls/get-votes Read-only Idempotent

Fetch votes for a poll, optionally filtered by option. Returns voter details, comment text, and timestamp. Useful for summarising results once a poll has closed. Requires install_plugins. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
poll_id integer Yes The post ID of the poll.
option_id integer No Optional. Filter to a specific option ID, which must belong to the poll.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

List Polls

lh-polls/list-polls Read-only Idempotent

List all polls on the current site with their status, option count, and total vote count. Requires install_plugins. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
status string No Filter by post status. Defaults to any. One of: publish, draft, private, any.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.