Docs for "image" query parameter (#1844)

* url query parameters

* spelling

* example description
This commit is contained in:
Florian Hübner 2023-11-12 20:47:11 +00:00 committed by GitHub
parent a031189cd0
commit 2576ba3715
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,3 +35,11 @@ Notice that there is an environment variable named WATCHTOWER_HTTP_API_TOKEN. To
```bash
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. 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
```