Download
Pre-pull a target tag into the local docker cache. Idempotent.
Returns 412 if the sidecar is unreachable — the actual docker pull
runs inside the sidecar, which is the only piece holding docker.sock.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
tag*Tag
Target tag, e.g. '0.8.5'. Stable semver only.
Response Body
application/json
application/json
curl -X POST "https://example.com/admin/upgrade/download" \ -H "Content-Type: application/json" \ -d '{ "tag": "string" }'{}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}