Change the deck's colours
antix_set_deck_paletteUse this when the user asks 'change the colors', 'use my brand colors' or 'make it darker'. Set the deck's colour slots as six-digit hex: background, ink (text), accent, onAccent (text on accent), paper and onPaper (text on paper), for the whole deck or for one slide with slideId. Only the slots you pass change. Require the current expectedVersion; on DECK_CONFLICT, read the deck again and repeat the same intended change. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ink | No | ||
| paper | No | ||
| accent | No | ||
| deckId | Yes | ||
| locale | No | ||
| onPaper | No | ||
| slideId | No | ||
| onAccent | No | ||
| projectId | No | AIGE project whose Canvas should receive the updated deck. | |
| background | No | ||
| accountHandle | No | ||
| expectedVersion | Yes | REQUIRED: the deck version you last read. A stale value fails with DECK_CONFLICT before any work. |