v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Images

Get the metadata of an image by type

get/images/{imageDigest}/metadata/{mtype}

Path parameters

imageDigeststring required
mtypestring 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

Metadata of specified type from the image

imageDigeststring
metadata_typestring
metadataobject

Example response

{
  "metadata": "{}",
  "metadata_type": "metadata_type",
  "imageDigest": "imageDigest"
}