Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'yarn openapi:bundle'
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine committed Sep 11, 2024
1 parent 07ee306 commit 174de1c
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ servers:
paths:
/api/lists:
delete:
description: |
Delete a list using the list ID.
> info
> When you delete a list, all of its list items are also deleted.
operationId: DeleteList
parameters:
- description: List's `id` value
Expand Down Expand Up @@ -72,10 +76,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Deletes a list
summary: Delete a list
tags:
- Security Solution Lists API
get:
description: Get the details of a list using the list ID.
operationId: ReadList
parameters:
- description: List's `id` value
Expand Down Expand Up @@ -123,10 +128,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Retrieves a list using its id field
summary: Get list details
tags:
- Security Solution Lists API
patch:
description: Update specific fields of an existing list using the list ID.
operationId: PatchList
requestBody:
content:
Expand Down Expand Up @@ -190,10 +196,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Patches a list
summary: Patch a list
tags:
- Security Solution Lists API
post:
description: Create a new list.
operationId: CreateList
requestBody:
content:
Expand Down Expand Up @@ -264,10 +271,17 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Creates a list
summary: Create a list
tags:
- Security Solution Lists API
put:
description: >
Update a list using the list ID. The original list is replaced, and all
unspecified fields are deleted.
> info
> You cannot modify the `id` value.
operationId: UpdateList
requestBody:
content:
Expand Down Expand Up @@ -333,11 +347,14 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Updates a list
summary: Update a list
tags:
- Security Solution Lists API
/api/lists/_find:
get:
description: >-
Get a paginated subset of lists. By default, the first page is returned,
with 20 results per page.
operationId: FindLists
parameters:
- description: The page number to return
Expand Down Expand Up @@ -446,11 +463,12 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Finds lists
summary: Get lists
tags:
- Security Solution Lists API
/api/lists/index:
delete:
description: Delete the `.lists` and `.items` data streams.
operationId: DeleteListIndex
responses:
'200':
Expand Down Expand Up @@ -496,10 +514,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Deletes list data streams
summary: Delete list data streams
tags:
- Security Solution Lists API
get:
description: Verify that `.lists` and `.items` data streams exist.
operationId: ReadListIndex
responses:
'200':
Expand Down Expand Up @@ -548,10 +567,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Get list data stream existence status
summary: Get status of list data streams
tags:
- Security Solution Lists API
post:
description: Create `.lists` and `.items` data streams in the relevant space.
operationId: CreateListIndex
responses:
'200':
Expand Down Expand Up @@ -597,11 +617,12 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Creates necessary list data streams
summary: Create list data streams
tags:
- Security Solution Lists API
/api/lists/items:
delete:
description: 'Delete a list item using its `id`, or its `list_id` and `value` fields.'
operationId: DeleteListItem
parameters:
- description: Required if `list_id` and `value` are not specified
Expand Down Expand Up @@ -678,10 +699,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Deletes a list item
summary: Delete a list item
tags:
- Security Solution Lists API
get:
description: Get the details of a list item.
operationId: ReadListItem
parameters:
- description: Required if `list_id` and `value` are not specified
Expand Down Expand Up @@ -745,10 +767,11 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Gets a list item
summary: Get a list item
tags:
- Security Solution Lists API
patch:
description: Update specific fields of an existing list item using the list item ID.
operationId: PatchListItem
requestBody:
content:
Expand Down Expand Up @@ -816,10 +839,20 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Patches a list item
summary: Patch a list item
tags:
- Security Solution Lists API
post:
description: >
Create a list item and associate it with the specified list.
All list items in the same list must be the same type. For example, each
list item in an `ip` list must define a specific IP address.
> info
> Before creating a list item, you must create a list.
operationId: CreateListItem
requestBody:
content:
Expand Down Expand Up @@ -888,10 +921,17 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Creates a list item
summary: Create a list item
tags:
- Security Solution Lists API
put:
description: >
Update a list item using the list item ID. The original list item is
replaced, and all unspecified fields are deleted.
> info
> You cannot modify the `id` value.
operationId: UpdateListItem
requestBody:
content:
Expand Down Expand Up @@ -951,12 +991,12 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Updates a list item
summary: Update a list item
tags:
- Security Solution Lists API
/api/lists/items/_export:
post:
description: Exports list item values from the specified list
description: Export list item values from the specified list.
operationId: ExportListItems
parameters:
- description: List's id to export
Expand Down Expand Up @@ -1006,11 +1046,12 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Exports list items
summary: Export list items
tags:
- Security Solution Lists API
/api/lists/items/_find:
get:
description: Get all list items in the specified list.
operationId: FindListItems
parameters:
- description: List's id
Expand Down Expand Up @@ -1125,14 +1166,14 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Finds list items
summary: Get list items
tags:
- Security Solution Lists API
/api/lists/items/_import:
post:
description: >
Imports a list of items from a `.txt` or `.csv` file. The maximum file
size is 9 million bytes.
Import list items from a TXT or CSV file. The maximum file size is 9
million bytes.
You can import items to a new or existing list.
Expand Down Expand Up @@ -1232,7 +1273,7 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Imports list items
summary: Import list items
tags:
- Security Solution Lists API
/api/lists/privileges:
Expand Down Expand Up @@ -1282,7 +1323,7 @@ paths:
schema:
$ref: '#/components/schemas/SiemErrorResponse'
description: Internal server error response
summary: Gets list privileges
summary: Get list privileges
tags:
- Security Solution Lists API
components:
Expand Down
Loading

0 comments on commit 174de1c

Please sign in to comment.