- Join screen
- Slide
- Poll
The opener: the six-digit code and the QR while the room fills. Always step 0, and there is only one.
Cards
A poll on a slide is a card: the poll, arect and a style. Leave both out and you get the house card, the bottom-right quarter with the default look, exactly what the editor drops. Send a partial style and only those fields change.
The card must stay on the slide: x + w and y + h at most 1. The API refuses a card that runs off. A card under a fifth of the slide’s height is too small to read.
Ids
Steps, cards, text boxes, shapes and images carry anid. Leave it out and the server fills one in. Ids survive replace_step for the steps you did not touch.
Numbering
The API counts steps from 0, and 0 is the join screen. The editor’s filmstrip shows the first slide as 1. So “slide 3” in the editor is step 3 in the API, since the join screen takes the 0.Changing a deck
Two ways, and both go through the same rules.- Whole document.
update_deckreplaces the document as you send it. Never a merge. - One step at a time.
add_step,replace_step,remove_stepandadd_overlaychange one step without resending the rest. They always write onto the revision they read.
revision, ready and problems. See Readiness and Revisions.
The widgets
Every poll has atype, a prompt and, where it takes answers, options. The seventeen widgets, the properties each reads, the looks it can take and what it needs before it can go on stage are all in the document and widgets reference, generated from the code that enforces them.