Miosa.SnapshotsStandalone (Miosa v1.0.1)

Copy Markdown View Source

Fleet-wide snapshot index for admin callers.

Routes live under /api/v1/admin/snapshots/ and require an admin credential. Per-computer snapshots remain nested under the computer's checkpoint resource. This module exposes the fleet-wide read-only index used by the platform admin dashboard.

Summary

Functions

Get a snapshot by ID (GET /admin/snapshots/:snapshot_id).

List all snapshots fleet-wide (GET /admin/snapshots).

Functions

get(client, snapshot_id)

Get a snapshot by ID (GET /admin/snapshots/:snapshot_id).

list(client, filters \\ %{})

@spec list(Miosa.Client.t(), map()) :: Miosa.Client.result(list())

List all snapshots fleet-wide (GET /admin/snapshots).

Accepts optional filter params (e.g. %{computer_id: "..."}, %{status: "ready"}).