Images

Get the content of an image by type files

get/images/{imageDigest}/content/files

Path parameters

imageDigeststring 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": [
    {
      "mode": "mode",
      "uid": 1,
      "filename": "filename",
      "gid": 0,
      "sha256": "sha256",
      "size": 6,
      "linkdest": "linkdest",
      "type": "type"
    },
    {
      "mode": "mode",
      "uid": 1,
      "filename": "filename",
      "gid": 0,
      "sha256": "sha256",
      "size": 6,
      "linkdest": "linkdest",
      "type": "type"
    }
  ],
  "imageDigest": "imageDigest"
}

Changes

Changed in 2 of the 5 revisions of this API.2

    • the content/items/ response's property type/format changed from / to object/ for status 200

      response-property-type-changed

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

    • the content/items/ response's property type/format changed from object/ to / for status 200

      response-property-type-changed

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