event_live_event_apply
# event_live_event_apply
Changes the event title, description, age rating, visibility or chat slow mode, or replaces or restores the promotion image in the Event Live app (pApp C00005). Shows a preview first; the change runs only after confirmation. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.
## Inputs
| Field | Required here | Contract |
| --- | --- | --- |
| `action` | Yes | one of: `info`, `promotion-image` (by `kind`) |
| `action.changes` | Yes | When `action.kind` is `info`: object |
| `action.changes.title` | No | When `action.kind` is `info`: string |
| `action.changes.description` | No | When `action.kind` is `info`: string |
| `action.changes.ageRating` | No | When `action.kind` is `info`: integer; minimum 0 |
| `action.changes.descriptionVisible` | No | When `action.kind` is `info`: boolean |
| `action.changes.mobileTitleVisible` | No | When `action.kind` is `info`: boolean |
| `action.changes.chatCooldownSeconds` | No | When `action.kind` is `info`: `0`, `1`, `2`, `3`, `4`, `5`, `10`, `15`, `30`, `60`, `120`; Chat slow mode in seconds. Event-live: 0,1,2,3,4,5,10,15,30,60,120; commerce-live: 0,5,10,15,30,60,120. |
| `action.change` | Yes | When `action.kind` is `promotion-image`: one of: `replace`, `restore` (by `kind`) |
| `action.change.imageTaskId` | Yes | When `action.kind` is `promotion-image` and `action.change.kind` is `replace`: string; pattern `^[A-Za-z0-9_-]{8,80}$`; Completed live-promotion-image upload task. A caller URL is never accepted. |
| `action.change.sourceTaskId` | Yes | When `action.kind` is `promotion-image` and `action.change.kind` is `restore`: string; pattern `^[A-Za-z0-9_-]{8,80}$`; A completed promotion-image replacement task of this installation; restores its observed original image. |
| `instanceCode` | No | string; pattern `^C9[0-9]{2}05$`; The Event Live instance code (C9xx05) when the event is an additional installation; omit for the main Event Live app. |
| `confirmToken` | No | string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |