API: snapshots
GET /api/hosts/{host_id}/snapshots#
List Snapshots
Permission hosts.read (look)
Parameters
host_id * | path | string (uuid) |
Response 200
POST /api/hosts/{host_id}/snapshots#
Create Snapshot
Permission hosts.operate (roll out)
Parameters
host_id * | path | string (uuid) |
Request body SnapshotCreate
Show 2 fields
| Field | Type | Notes |
|---|---|---|
name * | string | minLength 1, maxLength 64 |
note | string | default: "" · maxLength 200 |
Response 201
DELETE /api/hosts/{host_id}/snapshots/{snapshot_uuid}#
Delete Snapshot
Permission hosts.operate (roll out)
Parameters
host_id * | path | string (uuid) | |
snapshot_uuid * | path | string |