example description

This commit is contained in:
Florian Hübner 2023-11-12 21:09:38 +01:00
parent 025ec0e87b
commit 58e9edeab0

View file

@ -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 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 ```bash
curl -H "Authorization: Bearer mytoken" localhost:8080/v1/update?image=foo/bar,foo/baz curl -H "Authorization: Bearer mytoken" localhost:8080/v1/update?image=foo/bar,foo/baz