-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OAS] Adds alerts data to get rule types API (#170702)
(cherry picked from commit d3c51c4)
- Loading branch information
Showing
5 changed files
with
330 additions
and
4 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
47 changes: 47 additions & 0 deletions
47
x-pack/plugins/alerting/docs/openapi/components/schemas/fieldmap_properties.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,47 @@ | ||
title: Field map objects in the get rule types response | ||
type: object | ||
properties: | ||
array: | ||
type: boolean | ||
description: Indicates whether the field is an array. | ||
dynamic: | ||
type: boolean | ||
description: Indicates whether it is a dynamic field mapping. | ||
format: | ||
type: string | ||
description: > | ||
Indicates the format of the field. | ||
For example, if the `type` is `date_range`, the `format` can be `epoch_millis||strict_date_optional_time`. | ||
ignore_above: | ||
type: integer | ||
description: Specifies the maximum length of a string field. Longer strings are not indexed or stored. | ||
index: | ||
type: boolean | ||
description: Indicates whether field values are indexed. | ||
path: | ||
type: string | ||
description: TBD | ||
properties: | ||
type: object | ||
description: > | ||
Details about the object properties. | ||
This property is applicable when `type` is `object`. | ||
additionalProperties: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
description: The data type for each object property. | ||
required: | ||
type: boolean | ||
description: Indicates whether the field is required. | ||
scaling_factor: | ||
type: integer | ||
description: > | ||
The scaling factor to use when encoding values. | ||
This property is applicable when `type` is `scaled_float`. | ||
Values will be multiplied by this factor at index time and rounded to the closest long value. | ||
type: | ||
type: string | ||
description: Specifies the data type for the field. | ||
example: scaled_float |
Oops, something went wrong.