File tree 1 file changed +1
-3
lines changed
1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -195,13 +195,11 @@ of the HTTP handlers themselves. The API specification can be found in
195
195
accessed [here](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml).
196
196
Clients can be easily generated via any OpenAPI generator for all major languages.
197
197
198
- With the default config, endpoints are accessed under a ` /api/v1` or `/api/v2` prefix .
198
+ APIv2 is accessed via the ` /api/v2` prefix. APIv1 was deprecated in `0.16.0` and is removed as of version `0.27.0` .
199
199
The v2 `/status` endpoint would be `/api/v2/status`. If `--web.route-prefix` is set then API routes are
200
200
prefixed with that as well, so `--web.route-prefix=/alertmanager/` would
201
201
relate to `/alertmanager/api/v2/status`.
202
202
203
- _API v2 is still under heavy development and thereby subject to change._
204
-
205
203
# # amtool
206
204
207
205
` amtool` is a cli tool for interacting with the Alertmanager API. It is bundled with all releases of Alertmanager.
You can’t perform that action at this time.
0 commit comments