Sandboxes

Pull the default sandbox image on every eligible host (or one), so the first sandbox there starts without a multi-gigabyte download, and keep those hosts prepared across upgrades. Saves the policy of every host at once and returns; the hosts are asked to pull in the background and their progress is read from the GET. Admin only.

Changed on
post/v1/sandboxes/image-preparation

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Request body

node_idinteger nullable

The host to prepare: a node id, or 0 for the control plane. Omitted or null: every host eligible for sandbox placement.

Response

Preparation started on these hosts

node_idsinteger[] required

The hosts now kept prepared and asked to pull (node id, 0 for the control plane). Their progress is read from GET /v1/sandboxes/image-preparation.

Changes