Query
List of images containing given package
Filterable query interface to search for images containing specified package
get/query/images/by_package
Query parameters
namestring required
Name of package to search for (e.g. sed)
package_typestring
Type of package to filter on (e.g. dpkg)
versionstring
Version of named package to filter on (e.g. 4.4-1)
pagestring
The page of results to fetch. Pages start at 1
limitinteger
Limit the number of records for the requested page. If omitted or set to 0, return all results in a single page
Headers
x-anchore-accountstring
An account name to change the resource scope of the request to that account, if permissions allow (admin only)
Response
Image listing
Example response
{
"images": [
{
"image": {
"tag_history": [
{
"registry": "registry",
"detected_at": "2000-01-23T04:56:07.000+00:00",
"pullstring": "pullstring",
"tag": "tag",
"repository": "repository"
}
]
}
}
]
}