v1

latestOpenAPI 3.0.1Apache 2.02026-07-17111176225.7 KB
Images

List all visible images

List all images visible to the user

get/images

Query parameters

historyboolean

Include image history in the response

fulltagstring

Full docker-pull string to filter results by (e.g. docker.io/library/nginx:latest, or myhost.com:5000/testimages:v1.1.1)

image_status'all' | 'active' | 'deleting'

Filter by image_status value on the record. Default if omitted is 'active'.

analysis_status'not_analyzed' | 'analyzed' | 'analyzing' | 'analysis_failed'

Filter by analysis_status value on the record.

Headers

x-anchore-accountstring

An account name to change the resource scope of the request to that account, if permissions allow (admin only)

Response

successful operation

image_contentobject

A metadata content record for a specific image, containing different content type entries

last_updatedstring date-time
created_atstring date-time
imageDigeststring
userIdstring
annotationsobject
image_status'active' | 'inactive' | 'disabled'

State of the image

analysis_status'not_analyzed' | 'analyzing' | 'analyzed' | 'analysis_failed'

A state value for the current status of the analysis progress of the image

Example response

[
  {
    "last_updated": "2000-01-23T04:56:07.000+00:00",
    "analysis_status": "not_analyzed",
    "created_at": "2000-01-23T04:56:07.000+00:00",
    "annotations": "{}",
    "image_status": "active",
    "userId": "userId",
    "image_content": "{}",
    "image_detail": [
      {
        "registry": "registry",
        "last_updated": "2000-01-23T04:56:07.000+00:00",
        "imageId": "imageId",
        "fulldigest": "fulldigest",
        "repo": "repo",
        "dockerfile": "dockerfile",
        "created_at": "2000-01-23T04:56:07.000+00:00",
        "fulltag": "fulltag",
        "userId": "userId",
        "imageDigest": "imageDigest"
      },
      {
        "registry": "registry",
        "last_updated": "2000-01-23T04:56:07.000+00:00",
        "imageId": "imageId",
        "fulldigest": "fulldigest",
        "repo": "repo",
        "dockerfile": "dockerfile",
        "created_at": "2000-01-23T04:56:07.000+00:00",
        "fulltag": "fulltag",
        "userId": "userId",
        "imageDigest": "imageDigest"
      }
    ],
    "imageDigest": "imageDigest"
  }
]