v7

latestSwagger 2.0raw.githubusercontent.com2026-08-01202440.1 KB
snapshots

Get snapshot information

Get information about a specified snapshot including size and entrypoint. Returns 422 if the last pull/build operation failed, with the error reason in the message.

get/snapshots/info

Query parameters

snapshotstring required

Snapshot name and tag

Response

OK

cmdstring[]
entrypointstring[]
hashstring
namestring
sizeGBnumber

Example response

{
  "cmd": [
    "[\"nginx\"",
    "\"-g\"",
    "\"daemon off;\"]"
  ],
  "entrypoint": [
    "[\"nginx\"",
    "\"-g\"",
    "\"daemon off;\"]"
  ],
  "hash": "a7be6198544f09a75b26e6376459b47c5b9972e7351d440e092c4faa9ea064ff",
  "name": "nginx:latest",
  "sizeGB": 0.13
}