Skip to content

Commit e252c2e

Browse files
Merge pull request #4308 from nikodemas/patch-1
Update README information about api/v2 and api/v1
2 parents 9a7fd60 + d93741c commit e252c2e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,11 @@ of the HTTP handlers themselves. The API specification can be found in
195195
accessed [here](http://petstore.swagger.io/?url=https://raw.githubusercontent.com/prometheus/alertmanager/main/api/v2/openapi.yaml).
196196
Clients can be easily generated via any OpenAPI generator for all major languages.
197197
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`.
199199
The v2 `/status` endpoint would be `/api/v2/status`. If `--web.route-prefix` is set then API routes are
200200
prefixed with that as well, so `--web.route-prefix=/alertmanager/` would
201201
relate to `/alertmanager/api/v2/status`.
202202

203-
_API v2 is still under heavy development and thereby subject to change._
204-
205203
## amtool
206204

207205
`amtool` is a cli tool for interacting with the Alertmanager API. It is bundled with all releases of Alertmanager.

0 commit comments

Comments
 (0)