You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
API: single-snapshot GET/DELETE endpoints and richer SnapshotInfo — wanted? #3720
GET /snapshots lists snapshot templates but the API has no way to get or delete a single snapshot by ID/alias, and the list items are sparse. I'd previously drafted this in #3457 (closed as stale), where the maintainer noted that whether the API should grow this way is a maintainer call. Opening this to get that call before sending code.
Proposal (seeking direction)
GET /snapshots/{snapshotID} — fetch one snapshot by ID or alias (404 if not found / not owned). Reuses alias resolution + ListTeamSnapshotTemplates (limit 1); no new query.
DELETE /snapshots/{snapshotID} — soft-delete a snapshot template and release its aliases (204). Reuses the existing softDeleteTemplate path + cache invalidation.
SnapshotInfo enrichment (cpuCount/memoryMB/diskSizeMB/createdAt) — already sent as a small standalone PR since it's low-risk and backward compatible.
Questions for maintainers
Do you want single-snapshot GET and DELETE endpoints on the public API at all, or is snapshot lifecycle meant to stay list-only / managed elsewhere?
Activity
ryan-sana commentedon Oct 22, 2026
No plan to change here.