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
Migrate remaining image commands to /preview/v2/images
HAProxy blocks external /v2/* in production (sfcompute/sfcompute#5494),
so any caller hitting /v2/images gets a 404. Migrates the remaining
image commands off /v2/images:
- `sf images list`: use Stainless SDK `client.vms.images.list({ workspace })`
(hits /preview/v2/images automatically).
- `sf images upload`: swap raw fetch URLs from /v2/images,
/v2/images/{id}/parts, /v2/images/{id}/complete to /preview/v2/images*.
- `sf images get` and `sf nodes images show`: use SDK
`client.vms.images.get(id)` for the lookup; download URL fetch goes
to /preview/v2/images/{id}/download via raw fetch since the SDK has
no download method. SDK field rename sha256_hash -> sha256.
CLI surface (commands, flags, output) is unchanged.
Generated with [Indent](https://indent.com)
Co-Authored-By: Indent <noreply@indent.com>
0 commit comments