Interface ContainerImagesApiListContainerImagesRequest

Hierarchy

  • ContainerImagesApiListContainerImagesRequest

Properties

filterTags?: string

Comma-separated key:value tags. An image must match every tag. Use keys such as short_image, image_tag, image_registry, and image_repository. Each tag starts with a letter and contains only letters, digits, _, -, ., /, @, and :. Values match exactly and are case-sensitive (short_image:Redis matches nothing if the image is redis). In a value, * matches any run of characters, including none. It can appear anywhere in the value and more than once, and it can't be escaped. For example, short_image:redis* matches redis and redis-stack, and image_tag:v1.* matches v1.2.0. These return 400 Bad Request, with the reason in errors[0].detail: a * in a key or in a tag without : (image_*:latest, *:latest, redis*), a ?, a leading - (negation), spaces (so OR and IN (...) can't be used), an empty value (image_tag:), and more than 1024 characters in total. A * in the value of the numeric and date keys size, container_count, built_at, published_at, and vulnerability_scan_at also returns 400, but its detail is only Bad Request. To match unrelated values of one key, make one request per value.

groupBy?: string

Comma-separated list of up to three tag keys, such as image_registry,image_tag. Returns container_image_group objects with counts and tags. Grouped results ignore sort and do not support pagination. Images missing a grouping key are excluded. An image with multiple values for a grouping tag can appear in multiple groups. Grouped results may be incomplete. Compare counts only within the returned groups; they do not establish the most common tags or proportions across the inventory. For inventory-wide comparisons, omit group_by, keep the same filters, paginate all results, and deduplicate by returned image ID. For an inventory total, use meta.pagination.total from a query without grouping.

pageCursor?: string

Opaque cursor from meta.pagination.next_cursor for individual images. Keep the same filters and sort order. Stop when absent or empty. Grouped queries do not support pagination.

pageSize?: number

Maximum number of results returned. Grouped queries default to 100, with a maximum of 1000 groups. Without grouping, queries default to 1000, with a maximum of 10000 images. Minimum is 1.

sort?: string

Attribute to sort individual images by, such as size or container_count. Defaults to image_name in ascending order. Prefix the attribute with - for descending order, such as -size. Ignored when group_by is specified.

Generated using TypeDoc