* Move current alert HTTP APIs to legacy folder (#93943) * Move current HTTP APIs to legacy folder * Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH * Fix failing tests and extra files * Create new rule HTTP APIs (#93980) * Move current HTTP APIs to legacy folder * Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH * Fix failing tests and extra files * Move current alert HTTP APIs to legacy folder (#93943) * Move current HTTP APIs to legacy folder * Rename BASE_ALERT_API_PATH to LEGACY_BASE_ALERT_API_PATH * Fix failing tests and extra files * Add necessary files * Create rule route * Get rule API * Update rule API * Delete rule route * Aggregate rules API * Disable rule API * Enable rule API * Find rules API * Fix Update API * Get rule alert summary API * Get rule state API * Health API * Rule types API * Mute all API * Mute alert API * Unmute all API * Unmute alert route * Update API key API * corrected tpye by making it much more complicated * removed unneeded cocde * Fixes * Add back health route * mutedInstanceIds -> mutedAlertIds * lastRun -> last_run * alert_type_state -> rule_type_state & alert_instances -> alerts Co-authored-by: Gidi Meir Morris <github@gidi.io> * Create docs for new rule HTTP APIs, deprecate old docs (#94745) * Create docs for new APIs, deprecate old docs * Remove connector_type_id * Update docs * Add link to legacy APIs from rules API docs * Remove connector_type_id references * [DOCS] Add legacy APIs to index.asciidoc * Fix camel case Co-authored-by: lcawl <lcawley@elastic.co> * Make alerting tests use new rules APIs (#95159) * Make API integration tests use new HTTP APIs * Fix end to end tests * Fix test failures * Fix more test failures * Rename some files * Add tests for legacy APIs (#95333) * Initial commit (#95457) * Move some new alerting APIs to /internal (#95461) * Initial commit * Update README.md * Use internal API * Merge deprecated warning w/ alternative solution * Update API docs Co-authored-by: Gidi Meir Morris <github@gidi.io> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: lcawl <lcawley@elastic.co>
415 lines
12 KiB
JSON
415 lines
12 KiB
JSON
{
|
|
"id": "data.autocomplete",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [
|
|
{
|
|
"id": "def-public.QuerySuggestionBasic",
|
|
"type": "Interface",
|
|
"label": "QuerySuggestionBasic",
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.type",
|
|
"type": "Enum",
|
|
"label": "type",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 37
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionTypes",
|
|
"text": "QuerySuggestionTypes"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.description",
|
|
"type": "CompoundType",
|
|
"label": "description",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 38
|
|
},
|
|
"signature": [
|
|
"string | JSX.Element | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.end",
|
|
"type": "number",
|
|
"label": "end",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 39
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.start",
|
|
"type": "number",
|
|
"label": "start",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 40
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.text",
|
|
"type": "string",
|
|
"label": "text",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 41
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionBasic.cursorIndex",
|
|
"type": "number",
|
|
"label": "cursorIndex",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 42
|
|
},
|
|
"signature": [
|
|
"number | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 36
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.QuerySuggestionField",
|
|
"type": "Interface",
|
|
"label": "QuerySuggestionField",
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionField",
|
|
"text": "QuerySuggestionField"
|
|
},
|
|
" extends ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionBasic",
|
|
"text": "QuerySuggestionBasic"
|
|
}
|
|
],
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionField.type",
|
|
"type": "string",
|
|
"label": "type",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 47
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionTypes",
|
|
"text": "QuerySuggestionTypes"
|
|
},
|
|
".Field"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionField.field",
|
|
"type": "Object",
|
|
"label": "field",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 48
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataIndexPatternsPluginApi",
|
|
"section": "def-common.IFieldType",
|
|
"text": "IFieldType"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 46
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.QuerySuggestionGetFnArgs",
|
|
"type": "Interface",
|
|
"label": "QuerySuggestionGetFnArgs",
|
|
"description": [],
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.language",
|
|
"type": "string",
|
|
"label": "language",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 25
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.indexPatterns",
|
|
"type": "Array",
|
|
"label": "indexPatterns",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 26
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataIndexPatternsPluginApi",
|
|
"section": "def-common.IIndexPattern",
|
|
"text": "IIndexPattern"
|
|
},
|
|
"[]"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.query",
|
|
"type": "string",
|
|
"label": "query",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 27
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.selectionStart",
|
|
"type": "number",
|
|
"label": "selectionStart",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 28
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.selectionEnd",
|
|
"type": "number",
|
|
"label": "selectionEnd",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 29
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.signal",
|
|
"type": "Object",
|
|
"label": "signal",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 30
|
|
},
|
|
"signature": [
|
|
"AbortSignal | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.useTimeRange",
|
|
"type": "CompoundType",
|
|
"label": "useTimeRange",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 31
|
|
},
|
|
"signature": [
|
|
"boolean | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.QuerySuggestionGetFnArgs.boolFilter",
|
|
"type": "Any",
|
|
"label": "boolFilter",
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 32
|
|
},
|
|
"signature": [
|
|
"any"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 24
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"id": "def-public.QuerySuggestionTypes",
|
|
"type": "Enum",
|
|
"label": "QuerySuggestionTypes",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 11
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"id": "def-public.AutocompleteStart",
|
|
"type": "Type",
|
|
"label": "AutocompleteStart",
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/autocomplete_service.ts",
|
|
"lineNumber": 96
|
|
},
|
|
"signature": [
|
|
"{ getQuerySuggestions: QuerySuggestionGetFn; hasQuerySuggestions: (language: string) => boolean; getValueSuggestions: ValueSuggestionsGetFn; }"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.QuerySuggestion",
|
|
"type": "Type",
|
|
"label": "QuerySuggestion",
|
|
"tags": [
|
|
"public"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 52
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionBasic",
|
|
"text": "QuerySuggestionBasic"
|
|
},
|
|
" | ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionField",
|
|
"text": "QuerySuggestionField"
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-public.QuerySuggestionGetFn",
|
|
"type": "Type",
|
|
"label": "QuerySuggestionGetFn",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "src/plugins/data/public/autocomplete/providers/query_suggestion_provider.ts",
|
|
"lineNumber": 19
|
|
},
|
|
"signature": [
|
|
"(args: ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestionGetFnArgs",
|
|
"text": "QuerySuggestionGetFnArgs"
|
|
},
|
|
") => Promise<",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "public",
|
|
"docId": "kibDataAutocompletePluginApi",
|
|
"section": "def-public.QuerySuggestion",
|
|
"text": "QuerySuggestion"
|
|
},
|
|
"[]> | undefined"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |