Expand description
Volume management API DTOs.
Wire-format types shared between the daemon’s /api/v1/volumes
endpoints and SDK clients. Moved out of zlayer-api so SDK crates can
depend on them without pulling in the full server stack.
Structs§
- Create
Volume Request - Request body for
POST /api/v1/volumes. - Delete
Volume Query - Query parameters for the delete endpoint.
- Volume
Info - Full volume response shape used by the list, inspect, and create endpoints.
- Volume
Summary - Legacy response shape kept for backwards compatibility with older SDK
consumers that deserialize strictly. New consumers should use
VolumeInfo.list_volumesnow returnsVolumeInfowhich is a strict superset of the fields inVolumeSummary.