Skip to content

Commit

Permalink
Merge branch '188514-rules-4xx-oas' of https://github.com/Zacqary/kibana
Browse files Browse the repository at this point in the history
 into 188514-rules-4xx-oas
  • Loading branch information
Zacqary committed Sep 16, 2024
2 parents 4fa70e0 + cd4f607 commit dfc8f6f
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions oas_docs/bundle.json
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,9 @@
"responses": {
"204": {
"description": "Indicates a successful call."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Delete a rule",
Expand Down Expand Up @@ -1998,6 +2001,9 @@
}
},
"description": "Indicates a successful call."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Get rule details",
Expand Down Expand Up @@ -3186,6 +3192,9 @@
},
"description": "Indicates a successful call."
},
"400": {
"description": "Indicates that the requested rule type is not registered."
},
"403": {
"content": {
"application/json; Elastic-Api-Version=2023-10-31": {
Expand Down Expand Up @@ -4421,6 +4430,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Update a rule",
Expand Down Expand Up @@ -4519,6 +4531,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Disable a rule",
Expand Down Expand Up @@ -4599,6 +4614,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Enable a rule",
Expand Down Expand Up @@ -4773,6 +4791,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Update the API key for a rule",
Expand Down Expand Up @@ -4862,6 +4883,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule or alert with the given ID does not exist."
}
},
"summary": "Mute an alert",
Expand Down Expand Up @@ -4951,6 +4975,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule or alert with the given ID does not exist."
}
},
"summary": "Unmute an alert",
Expand Down
27 changes: 27 additions & 0 deletions oas_docs/bundle.serverless.json
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,9 @@
"responses": {
"204": {
"description": "Indicates a successful call."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Delete a rule",
Expand Down Expand Up @@ -1998,6 +2001,9 @@
}
},
"description": "Indicates a successful call."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Get rule details",
Expand Down Expand Up @@ -3186,6 +3192,9 @@
},
"description": "Indicates a successful call."
},
"400": {
"description": "Indicates that the requested rule type is not registered."
},
"403": {
"content": {
"application/json; Elastic-Api-Version=2023-10-31": {
Expand Down Expand Up @@ -4421,6 +4430,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Update a rule",
Expand Down Expand Up @@ -4519,6 +4531,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Disable a rule",
Expand Down Expand Up @@ -4599,6 +4614,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Enable a rule",
Expand Down Expand Up @@ -4773,6 +4791,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule with the given ID does not exist."
}
},
"summary": "Update the API key for a rule",
Expand Down Expand Up @@ -4862,6 +4883,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule or alert with the given ID does not exist."
}
},
"summary": "Mute an alert",
Expand Down Expand Up @@ -4951,6 +4975,9 @@
}
},
"description": "Indicates that this call is forbidden."
},
"404": {
"description": "Indicates a rule or alert with the given ID does not exist."
}
},
"summary": "Unmute an alert",
Expand Down

0 comments on commit dfc8f6f

Please sign in to comment.