Alerting: Allow filtering of contact points by name (#51933)

* Define query param and regenerate

* Add query struct for contact points

* Filter contact points by name in query

* Document that name filter is optional
This commit is contained in:
Alexander Weaver
2022-07-11 17:11:46 -05:00
committed by GitHub
parent 73f4d7ac05
commit 0e066dd5f8
7 changed files with 87 additions and 19 deletions
@@ -3386,6 +3386,14 @@
"/api/v1/provisioning/contact-points": {
"get": {
"operationId": "RouteGetContactpoints",
"parameters": [
{
"description": "Filter by name",
"in": "query",
"name": "name",
"type": "string"
}
],
"responses": {
"200": {
"description": "ContactPoints",