From 58e9edeab03ccdd8f9d4ca74b0e7e066575c4fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20H=C3=BCbner?= Date: Sun, 12 Nov 2023 21:09:38 +0100 Subject: [PATCH] example description --- docs/http-api-mode.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/http-api-mode.md b/docs/http-api-mode.md index 86afd2d..69812bb 100644 --- a/docs/http-api-mode.md +++ b/docs/http-api-mode.md @@ -36,7 +36,9 @@ Notice that there is an environment variable named WATCHTOWER_HTTP_API_TOKEN. To curl -H "Authorization: Bearer mytoken" localhost:8080/v1/update ``` -In order to update only certain images, the image names can be provided as URL query parameters. +--- + +In order to update only certain images, the image names can be provided as URL query parameters. The following `curl` command would trigger an update for the images `foo/bar` and `foo/baz`: ```bash curl -H "Authorization: Bearer mytoken" localhost:8080/v1/update?image=foo/bar,foo/baz