Skip to content

Commit

Permalink
Docs for "image" query parameter (#1844)
Browse files Browse the repository at this point in the history
* url query parameters

* spelling

* example description
  • Loading branch information
nothub authored Nov 12, 2023
1 parent a031189 commit 2576ba3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/http-api-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 2576ba3

Please sign in to comment.