Keep computer alive
computers.keepalive(strid) -> ComputerKeepaliveResponse
POST/computers/{id}/keepalive
Extend the timeout for a computer session and verify it is still running
Parameters
id: str
Returns
Dict[str, object]
Keep computer alive
import os
from tzafon import Lightcone
client = Lightcone(
api_key=os.environ.get("TZAFON_API_KEY"), # This is the default and can be omitted
)
response = client.computers.keepalive(
"id",
)
print(response){
"foo": "bar"
}Returns Examples
{
"foo": "bar"
}