Images
Get the content of an image by type files
Changed onget/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
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
- breaking
the
/response's property type changed from no type toobjectfor status
- breaking
- breaking
the
/response's property type changed fromobjectto no type for status
- breaking