nils måsén
4a922f5a32
feat(api): add updates API v2
2023-10-21 19:37:06 +02:00
nils måsén
47091761a5
feat(api): implement new api handler
2023-10-21 19:36:00 +02:00
nils måsén
be33c64afd
fix: move invalid token to log field ( #1171 )
...
* fix: move invalid token to log field
* escape invalid token in log field
* Update pkg/api/api.go
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2022-01-22 17:50:04 +01:00
Juho-Pekka Kuitunen
e14cc292ed
feat: improve HTTP API logging, honor no-startup-message ( #1091 )
...
Co-authored-by: nils måsén <nils@piksel.se>
2021-11-29 15:07:26 +01:00
Igor Zibarev
81036b078b
fix(api): return appropriate status for unauthorized requests ( #1116 )
2021-11-12 12:16:24 +01:00
Simon Aronsson
028f19ac47
Move token logs to trace
2021-04-21 10:03:05 +02:00
Zois Pagoulatos
4689853493
fix: Set log level to debug for message about API token ( #757 )
2021-01-12 08:34:11 +01:00
Simon Aronsson
d7d5b25882
Prometheus support ( #450 )
...
Co-authored-by: nils måsén <nils@piksel.se>
Co-authored-by: MihailITPlace <ya.halo-halo@yandex.ru>
Co-authored-by: Sebastiaan Tammer <sebastiaantammer@gmail.com>
2021-01-06 22:28:32 +01:00
Sebastiaan Tammer
dccdf708a9
Adds the option to skip TLS verification for a Gotify instance ( #544 )
2020-05-22 16:02:20 +02:00
Simon Aronsson
4672811983
fix linting and formatting
2020-04-24 13:45:24 +02:00
Victor Moura
0217e116c4
Watchtower HTTP API based updates ( #432 )
...
* Added HTTP API trigger to update running images
* Adds HTTP API authentication token parameter and handling
* Exposes port 8080 in Dockerfile to allow inter-container update triggering via HTTP API
* Fixes codacy issue
* Adds API usage doc
* Fix grammar
* Moves api logic to a package of its own
* Makes WT exit if token has not been set in HTTP API mode
* Adds lock to prevent concurrent updates when in HTTP API mode
Co-authored-by: Simon Aronsson <simme@arcticbit.se>
2020-04-20 16:17:14 +02:00