restore_snapshot · Restore a snapshot
may change things: you confirm before it runsRolls a stopped computer back to one of its snapshots; the next start boots from it.
Input schema
{
"type": "object",
"properties": {
"computer": {
"type": "string",
"description": "The computer id from create_computer, like c_ab12cd34ef56.",
"pattern": "^c_[a-z0-9]{12}$"
},
"token": {
"type": "string",
"description": "The computer token from create_computer (ct_...). Not needed when you call with the owner's API key."
},
"snapshot": {
"type": "string",
"description": "Snapshot id from computer_status."
}
},
"required": [
"computer",
"snapshot"
],
"additionalProperties": false
}