mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[DOCS][OpenAPI] Change x-technical-preview to x-state in case APIs (#195325)](https://github.com/elastic/kibana/pull/195325) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2024-10-17T23:14:34Z","message":"[DOCS][OpenAPI] Change x-technical-preview to x-state in case APIs (#195325)","sha":"7b106f7235e014563ed90721791d6516a9287d3f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","backport:skip","v9.0.0","docs","Feature:Cases","v8.16.0","v8.17.0"],"number":195325,"url":"https://github.com/elastic/kibana/pull/195325","mergeCommit":{"message":"[DOCS][OpenAPI] Change x-technical-preview to x-state in case APIs (#195325)","sha":"7b106f7235e014563ed90721791d6516a9287d3f"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195325","number":195325,"mergeCommit":{"message":"[DOCS][OpenAPI] Change x-technical-preview to x-state in case APIs (#195325)","sha":"7b106f7235e014563ed90721791d6516a9287d3f"}},{"branch":"8.16","label":"v8.16.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
30 lines
No EOL
1,011 B
YAML
30 lines
No EOL
1,011 B
YAML
get:
|
|
summary: Get all alerts for a case
|
|
description: >
|
|
You must have `read` privileges for the **Cases** feature in the
|
|
**Management**, **Observability**, or **Security** section of the Kibana
|
|
feature privileges, depending on the owner of the cases you're seeking.
|
|
x-state: Technical preview
|
|
operationId: getCaseAlertsDefaultSpace
|
|
tags:
|
|
- cases
|
|
parameters:
|
|
- $ref: ../components/parameters/case_id.yaml
|
|
responses:
|
|
'200':
|
|
description: Indicates a successful call.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: '../components/schemas/alert_response_properties.yaml'
|
|
examples:
|
|
getCaseAlertsResponse:
|
|
$ref: '../components/examples/get_case_alerts_response.yaml'
|
|
'401':
|
|
description: Authorization information is missing or invalid.
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: '../components/schemas/4xx_response.yaml' |