theme
GET /theme
The launcher's theme, for a studio's page.
No token. Exempt from the Origin check, answered with `Access-Control-Allow-Origin: *` (M6 Q9).
No token. Not in the runtime SDK clients: a page reads it directly, or through its studio's proxy.
| Status | Body | Means |
|---|---|---|
| 200 | ThemeEvent | The theme. |
GET /theme/events
The launcher's theme as a stream a studio's page follows.
No token. Exempt from the Origin check, answered with `Access-Control-Allow-Origin: *` (M6 Q9). The current theme is sent at once, then every change, each as `event: theme` with `data:` a ThemeEvent and no `id:`; there is nothing to resume, since the first event after a reconnect is the current theme. `: ping` comments keep the connection open. The runtime SDK's browser `themeBridge()` reads it.
No token. Not in the runtime SDK clients: a page reads it directly, or through its studio's proxy.
Events:
- theme → ThemeEvent
| Status | Body | Means |
|---|---|---|
| 200 | string | An event stream. |