summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorMatej Marusak <mmarusak@redhat.com>2020-02-17 18:43:37 +0100
committerMatej Marusak <mmarusak@redhat.com>2020-02-17 18:44:46 +0100
commitd08e0c728f8c2bf2185265b35d8e7b6acfd221f0 (patch)
tree9a2192427c7a43e43a5e97a1a6ae0afe5f6ef298 /pkg
parentff0f8388138f7b66c4312db0e984f0bedcac2558 (diff)
downloadpodman-d08e0c728f8c2bf2185265b35d8e7b6acfd221f0.tar.gz
podman-d08e0c728f8c2bf2185265b35d8e7b6acfd221f0.tar.bz2
podman-d08e0c728f8c2bf2185265b35d8e7b6acfd221f0.zip
apiv2: Enable filtering images by ID
It is more practical for API usage and also it is more in sync how filtering of containers works. Signed-off-by: Matej Marusak <mmarusak@redhat.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/api/server/register_images.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index f082c5fec..cc5be8086 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -621,6 +621,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// - `dangling=true`
// - `label=key` or `label="key=value"` of an image label
// - `reference`=(`<image-name>[:<tag>]`)
+ // - `id`=(`<image-id>`)
// - `since`=(`<image-name>[:<tag>]`, `<image id>` or `<image@digest>`)
// type: string
// produces: