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

Create new connector HTTP APIs that use the new terminology #90376

Closed
mikecote opened this issue Feb 5, 2021 · 1 comment · Fixed by #92451
Closed

Create new connector HTTP APIs that use the new terminology #90376

mikecote opened this issue Feb 5, 2021 · 1 comment · Fixed by #92451
Assignees
Labels
Feature:Actions Project:UnifiedAlertingArchitectureAndExperience Alerting team project for developing a unified alerting experience. Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@mikecote
Copy link
Contributor

mikecote commented Feb 5, 2021

This is the first step of #90375, which summarizes the new terminology to use in Kibana alerting. This issue covers the connectors portion, where we use action as the current terminology at this time. This new terminology change includes URL, parameters, body, and response in the new APIs. Don't forget docs.

Actions Plugin Api Paths

Important note: When introducing these new APIs we need to rename all fields in bodies need to be renamed from Camel Case to Snake Case as per our Style Guide. In the code they need to be renamed back to Camel Case.

  • POST /api/actions/action => /api/actions/connector
  • DELETE /api/actions/action/{id} => /api/actions/connector/{id}
  • GET /api/actions => /api/actions/connectors
  • GET /api/actions/action/{id} => /api/actions/connector/{id}
  • GET /api/actions/list_action_types => /api/actions/list_connector_types
  • PUT /api/actions/action/{id} => /api/actions/connector/{id}
  • POST /api/actions/action/{id}/_execute => /api/actions/connector/{id}/_execute

For details on the Api migration see the notes under #90375 (comment)

@mikecote mikecote added Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Feb 5, 2021
@elasticmachine
Copy link
Contributor

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

@mikecote mikecote added the Project:UnifiedAlertingArchitectureAndExperience Alerting team project for developing a unified alerting experience. label Feb 5, 2021
@mikecote mikecote changed the title Create new connector HTTP APIs that use the new terminology. Create new connector HTTP APIs that use the new terminology Feb 5, 2021
@gmmorris gmmorris self-assigned this Feb 23, 2021
@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
Feature:Actions Project:UnifiedAlertingArchitectureAndExperience Alerting team project for developing a unified alerting experience. Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
4 participants