feat: accept partial bodies on PUT /api/instances/:vmid #70

Merged
josh merged 1 commits from feat/partial-instance-updates into dev 2026-05-29 16:03:44 -04:00

1 Commits

Author SHA1 Message Date
josh ea671535fc feat: accept partial bodies on PUT /api/instances/:vmid
CI / test (pull_request) Successful in 10s
CI / build-dev (pull_request) Has been skipped
Merge the request body onto the existing instance row before validating,
so external callers (n8n, scripts) can send only the fields they want to
change instead of GET-then-splat-then-PUT the full record.

Mirrors the partial-update pattern already used by PUT /api/jobs/:id.
Full-body PUTs (today's frontend) are unaffected.
2026-05-29 15:57:58 -04:00