sandboxes

Create a snapshot

Create a snapshot from a Docker image (async build).

post/v2/sandboxes/snapshots

Request body

docker_imagestring required
fs_capacity_bytesinteger required
namestring required
registry_idstring

Response

Created

created_atstring
created_bystring
docker_imagestring
fs_capacity_bytesinteger
fs_used_bytesinteger
idstring
image_digeststring
memory_snapshot_size_bytesinteger

MemorySnapshotSizeBytes is non-nil iff the snapshot was captured with VM memory state. A non-nil value is the canonical signal that this snapshot can warm-restore from memory; nil means rootfs only.

namestring
registry_idstring
source_sandbox_idstring
statusstring
status_messagestring
updated_atstring

Changes

Changed in 3 of the 48 revisions of this API.35

    • added the optional property detail/error_id to the response with the 400 status

      response-optional-property-added

    • added the optional property detail/error_id to the response with the 403 status

      response-optional-property-added

    • added the optional property detail/error_id to the response with the 500 status

      response-optional-property-added

    • added the optional property memory_snapshot_size_bytes to the response with the 201 status

      response-optional-property-added

    This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the request property registry_password

      request-property-removed

    • removed the request property registry_url

      request-property-removed

    • removed the request property registry_username

      request-property-removed

    This revision also has 15 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added