restore_version
Restore a past music version by its history id; it takes over immediately without stopping playback and records the restore as a new version.
Instructions
Plays a past version again, by its id from list_history, in one call: it takes over within a fraction of a second without stopping the music, with the same checks as set_code. The restore is added to the history as a new version ("restored from #id"); nothing is rewritten. Returns the code as confirmed by the page. A restore always takes over at once and replaces a change that waits for a bar or phrase line. The old version replaces the music at once; when the user asked for gradual changes this session, bring it in with set_code and a transition instead. Like set_code, it starts Moontide first when it is not started yet, but only for an id that exists in the history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Version id from list_history, for example 41 for #41 | |
| answering | No | The id of the page request this change answers, from its request line; the page shows that request as applied only when the change names it here |