-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DOCS] Add new path specification for find comments
- Loading branch information
Showing
5 changed files
with
180 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
x-pack/plugins/cases/docs/openapi/paths/s@{spaceid}@api@cases@{caseid}@comments@_find.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
get: | ||
summary: Retrieves all the user comments from a case. | ||
operationId: findCaseComments | ||
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 with the comments you're seeking. | ||
tags: | ||
- cases | ||
parameters: | ||
- $ref: '../components/parameters/case_id.yaml' | ||
- $ref: '../components/parameters/page_index.yaml' | ||
- $ref: '../components/parameters/page_size.yaml' | ||
- $ref: '../components/parameters/sort_order.yaml' | ||
- $ref: '../components/parameters/space_id.yaml' | ||
responses: | ||
'200': | ||
description: Indicates a successful call. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../components/schemas/case_response_properties.yaml' | ||
'401': | ||
description: Authorization information is missing or invalid. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '../components/schemas/4xx_response.yaml' | ||
servers: | ||
- url: https://localhost:5601 | ||
|
||
servers: | ||
- url: https://localhost:5601 |