Images

Get the content of an image by type files

Changed on
get/images/{imageDigest}/content/files

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /images/{imageDigest}/content/files
  • Auth: none declared

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