Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion oas_docs/output/kibana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6948,6 +6948,7 @@ paths:
operationId: getCaseDefaultSpace
parameters:
- $ref: '#/components/parameters/Cases_case_id'
- $ref: '#/components/parameters/Cases_includeComments'
responses:
'200':
content:
Expand Down Expand Up @@ -63872,7 +63873,8 @@ components:
Cases_ids:
description: |
The cases that you want to removed. All non-ASCII characters must be URL encoded.
example: d4e7abb0-b462-11ec-9a8d-698504725a43
example:
- d4e7abb0-b462-11ec-9a8d-698504725a43
in: query
name: ids
required: true
Expand All @@ -63882,6 +63884,14 @@ components:
minItems: 1
type: string
type: array
Cases_includeComments:
deprecated: true
description: Deprecated in 8.1.0. This parameter is deprecated and will be removed in a future release. It determines whether case comments are returned.
in: query
name: includeComments
schema:
default: true
type: boolean
Cases_kbn_xsrf:
description: Cross-site request forgery protection
in: header
Expand Down
17 changes: 16 additions & 1 deletion x-pack/platform/plugins/shared/cases/docs/openapi/bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -1174,6 +1174,9 @@
"parameters": [
{
"$ref": "#/components/parameters/case_id"
},
{
"$ref": "#/components/parameters/includeComments"
}
],
"responses": {
Expand Down Expand Up @@ -1821,7 +1824,9 @@
"maxItems": 100
}
},
"example": "d4e7abb0-b462-11ec-9a8d-698504725a43"
"example": [
"d4e7abb0-b462-11ec-9a8d-698504725a43"
]
},
"assignees_filter": {
"in": "query",
Expand Down Expand Up @@ -2064,6 +2069,16 @@
"example": "9c235210-6834-11ea-a78c-6ffb38a34414"
}
},
"includeComments": {
"in": "query",
"name": "includeComments",
"description": "Deprecated in 8.1.0. This parameter is deprecated and will be removed in a future release. It determines whether case comments are returned.",
"deprecated": true,
"schema": {
"type": "boolean",
"default": true
}
},
"comment_id": {
"in": "path",
"name": "commentId",
Expand Down
12 changes: 11 additions & 1 deletion x-pack/platform/plugins/shared/cases/docs/openapi/bundled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,7 @@ paths:
- cases
parameters:
- $ref: '#/components/parameters/case_id'
- $ref: '#/components/parameters/includeComments'
responses:
'200':
description: Indicates a successful call.
Expand Down Expand Up @@ -1183,7 +1184,8 @@ components:
type: string
minItems: 1
maxItems: 100
example: d4e7abb0-b462-11ec-9a8d-698504725a43
example:
- d4e7abb0-b462-11ec-9a8d-698504725a43
assignees_filter:
in: query
name: assignees
Expand Down Expand Up @@ -1357,6 +1359,14 @@ components:
schema:
type: string
example: 9c235210-6834-11ea-a78c-6ffb38a34414
includeComments:
in: query
name: includeComments
description: Deprecated in 8.1.0. This parameter is deprecated and will be removed in a future release. It determines whether case comments are returned.
deprecated: true
schema:
type: boolean
default: true
comment_id:
in: path
name: commentId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ schema:
type: string
minItems: 1
maxItems: 100
example: d4e7abb0-b462-11ec-9a8d-698504725a43
example: ["d4e7abb0-b462-11ec-9a8d-698504725a43"]