Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alerting documentation points to incorrect Rest APIs #68886

Closed
cauemarcondes opened this issue Jun 11, 2020 · 3 comments
Closed

Alerting documentation points to incorrect Rest APIs #68886

cauemarcondes opened this issue Jun 11, 2020 · 3 comments
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@cauemarcondes
Copy link
Contributor

In Alerting documentation https:/elastic/kibana/tree/master/x-pack/plugins/alerts, the API documentation points to:
GET /api/alerts/_find
GET /api/alerts/alert/{id}
GET /api/alerts/alert/{id}/state

When I tried to use any of these, I got the following error:

{
    "statusCode": 404,
    "error": "Not Found",
    "message": "Not Found"
}

After changing it to:
GET /api/alert/_find
GET /api/alert/{id}
GET /api/alert/{id}/state

It works.

@cauemarcondes cauemarcondes added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) :Alerting labels Jun 11, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@mikecote
Copy link
Contributor

Are you running the latest master? The API endpoints have changed when the docs got updated recently: #66838.

@cauemarcondes
Copy link
Contributor Author

My bad. I'm running 7.8 looking at master documentation! Thanks for the help.

@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

No branches or pull requests

4 participants