v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Images

Get the content of an image by type

get/images/{imageDigest}/content/{ctype}

Path parameters

imageDigeststring required
ctypestring required

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

Content of specified type from the image

imageDigeststring
content_typestring

Example response

{
  "content_type": "content_type",
  "content": [
    {
      "license": "license",
      "licenses": [
        "licenses",
        "licenses"
      ],
      "package": "package",
      "size": "size",
      "cpes": [
        "cpes",
        "cpes"
      ],
      "origin": "origin",
      "location": "location",
      "type": "type",
      "version": "version"
    },
    {
      "license": "license",
      "licenses": [
        "licenses",
        "licenses"
      ],
      "package": "package",
      "size": "size",
      "cpes": [
        "cpes",
        "cpes"
      ],
      "origin": "origin",
      "location": "location",
      "type": "type",
      "version": "version"
    }
  ],
  "imageDigest": "imageDigest"
}