Lathe Actions API
The actions API from Lathe — 10 operation(s) for actions.
Operations 10
POST
/instances/{instance_id}/actions/reallocate
Move memory between the engines now, as the advisor would (400 with the reason…
#
POST
/instances/{instance_id}/engines/{engine}/actions/restart
Restart one engine; the others are untouched
#
POST
/instances/{instance_id}/engines/{engine}/actions/reset
Wipe one engine's data and start it empty (an undo snapshot is kept); the…
#
POST
/instances/{instance_id}/actions/rotate
Rotate a password: one engine's, or every engine's when no engine is named (the…
#
POST
/instances/{instance_id}/actions/downsize
Move to a lower plan; the instance moves to a smaller machine, keeping its data…
#
POST
/instances/{instance_id}/actions/sleep
Put an instance to sleep: its data, address and connection details are kept…
#
POST
/instances/{instance_id}/actions/wake
Wake an asleep instance: its machine is built again from its newest snapshot…
#
POST
/instances/{instance_id}/actions/reset
Wipe every engine's data and start empty (a snapshot is kept 7 days)
#
POST
/instances/{instance_id}/actions/restore
Restore a backup in place (a snapshot of the current state is kept 7 days)
#