* update api_docs from gitignore * api doc files * Update api_welcome.mdx * Pretty print json * Add new lines and extra frontmatter to warn github viewers * update api_docs with new lines and frontmatter * Remove all apis tagged @internal and add tests * Update docs with all internal APIs removed * fix typescript error in test fixtures * Update core.json Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> # Conflicts: # api_docs/core.json # api_docs/core_application.json # api_docs/core_http.json # api_docs/core_saved_objects.json
980 lines
35 KiB
JSON
980 lines
35 KiB
JSON
{
|
|
"id": "dataEnhanced",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.ENHANCED_ES_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "ENHANCED_ES_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 17,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L17"
|
|
},
|
|
"signature": [
|
|
"\"ese\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-public.EQL_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "EQL_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 19,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L19"
|
|
},
|
|
"signature": [
|
|
"\"eql\""
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": [],
|
|
"start": {
|
|
"id": "def-public.DataEnhancedStart",
|
|
"type": "Type",
|
|
"label": "DataEnhancedStart",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/public/plugin.ts",
|
|
"lineNumber": 40,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/public/plugin.ts#L40"
|
|
},
|
|
"signature": [
|
|
"void"
|
|
],
|
|
"lifecycle": "start",
|
|
"initialIsOpen": true
|
|
}
|
|
},
|
|
"server": {
|
|
"classes": [
|
|
{
|
|
"id": "def-server.EnhancedDataServerPlugin",
|
|
"type": "Class",
|
|
"tags": [],
|
|
"label": "EnhancedDataServerPlugin",
|
|
"description": [],
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "server",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-server.EnhancedDataServerPlugin",
|
|
"text": "EnhancedDataServerPlugin"
|
|
},
|
|
" implements ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.Plugin",
|
|
"text": "Plugin"
|
|
},
|
|
"<void, void, SetupDependencies, ",
|
|
"StartDependencies",
|
|
">"
|
|
],
|
|
"children": [
|
|
{
|
|
"id": "def-server.EnhancedDataServerPlugin.Unnamed",
|
|
"type": "Function",
|
|
"label": "Constructor",
|
|
"signature": [
|
|
"any"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "initializerContext",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.PluginInitializerContext",
|
|
"text": "PluginInitializerContext"
|
|
},
|
|
"<Readonly<{} & { search: Readonly<{} & { sessions: Readonly<{} & { enabled: boolean; management: Readonly<{} & { refreshInterval: moment.Duration; maxSessions: number; refreshTimeout: moment.Duration; expiresSoonWarning: moment.Duration; }>; pageSize: number; trackingInterval: moment.Duration; notTouchedTimeout: moment.Duration; notTouchedInProgressTimeout: moment.Duration; maxUpdateRetries: number; defaultExpiration: moment.Duration; }>; }>; }>>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 48,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L48"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 48,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L48"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.EnhancedDataServerPlugin.setup",
|
|
"type": "Function",
|
|
"label": "setup",
|
|
"signature": [
|
|
"(core: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.CoreSetup",
|
|
"text": "CoreSetup"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "server",
|
|
"docId": "kibDataPluginApi",
|
|
"section": "def-server.DataPluginStart",
|
|
"text": "DataPluginStart"
|
|
},
|
|
", unknown>, deps: SetupDependencies) => void"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "core",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.CoreSetup",
|
|
"text": "CoreSetup"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "server",
|
|
"docId": "kibDataPluginApi",
|
|
"section": "def-server.DataPluginStart",
|
|
"text": "DataPluginStart"
|
|
},
|
|
", unknown>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 53,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L53"
|
|
}
|
|
},
|
|
{
|
|
"type": "Object",
|
|
"label": "deps",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"SetupDependencies"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 53,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L53"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 53,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L53"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.EnhancedDataServerPlugin.start",
|
|
"type": "Function",
|
|
"label": "start",
|
|
"signature": [
|
|
"(core: ",
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.CoreStart",
|
|
"text": "CoreStart"
|
|
},
|
|
", { taskManager }: ",
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "server",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-server.StartDependencies",
|
|
"text": "StartDependencies"
|
|
},
|
|
") => void"
|
|
],
|
|
"description": [],
|
|
"children": [
|
|
{
|
|
"type": "Object",
|
|
"label": "core",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "core",
|
|
"scope": "server",
|
|
"docId": "kibCorePluginApi",
|
|
"section": "def-server.CoreStart",
|
|
"text": "CoreStart"
|
|
}
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 95,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L95"
|
|
}
|
|
},
|
|
{
|
|
"type": "Object",
|
|
"label": "{ taskManager }",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "server",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-server.StartDependencies",
|
|
"text": "StartDependencies"
|
|
}
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 95,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L95"
|
|
}
|
|
}
|
|
],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 95,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L95"
|
|
}
|
|
},
|
|
{
|
|
"id": "def-server.EnhancedDataServerPlugin.stop",
|
|
"type": "Function",
|
|
"label": "stop",
|
|
"signature": [
|
|
"() => void"
|
|
],
|
|
"description": [],
|
|
"children": [],
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 101,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L101"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/server/plugin.ts",
|
|
"lineNumber": 42,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/server/plugin.ts#L42"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.ENHANCED_ES_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "ENHANCED_ES_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 17,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L17"
|
|
},
|
|
"signature": [
|
|
"\"ese\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-server.EQL_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "EQL_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 19,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L19"
|
|
},
|
|
"signature": [
|
|
"\"eql\""
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"id": "def-common.pollSearch",
|
|
"type": "Function",
|
|
"children": [
|
|
{
|
|
"type": "Function",
|
|
"label": "search",
|
|
"isRequired": true,
|
|
"signature": [
|
|
"() => Promise<Response>"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/poll_search.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/poll_search.ts#L16"
|
|
}
|
|
},
|
|
{
|
|
"type": "Function",
|
|
"label": "cancel",
|
|
"isRequired": false,
|
|
"signature": [
|
|
"(() => void) | undefined"
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/poll_search.ts",
|
|
"lineNumber": 17,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/poll_search.ts#L17"
|
|
}
|
|
},
|
|
{
|
|
"type": "Object",
|
|
"label": "{ pollInterval = 1000, abortSignal }",
|
|
"isRequired": true,
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.IAsyncSearchOptions",
|
|
"text": "IAsyncSearchOptions"
|
|
}
|
|
],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/poll_search.ts",
|
|
"lineNumber": 18,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/poll_search.ts#L18"
|
|
}
|
|
}
|
|
],
|
|
"signature": [
|
|
"<Response extends ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataSearchPluginApi",
|
|
"section": "def-common.IKibanaSearchResponse",
|
|
"text": "IKibanaSearchResponse"
|
|
},
|
|
"<any>>(search: () => Promise<Response>, cancel?: (() => void) | undefined, { pollInterval, abortSignal }?: ",
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.IAsyncSearchOptions",
|
|
"text": "IAsyncSearchOptions"
|
|
},
|
|
") => ",
|
|
"Observable",
|
|
"<Response>"
|
|
],
|
|
"description": [],
|
|
"label": "pollSearch",
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/poll_search.ts",
|
|
"lineNumber": 15,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/poll_search.ts#L15"
|
|
},
|
|
"tags": [],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"id": "def-common.EqlSearchStrategyRequest",
|
|
"type": "Interface",
|
|
"label": "EqlSearchStrategyRequest",
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.EqlSearchStrategyRequest",
|
|
"text": "EqlSearchStrategyRequest"
|
|
},
|
|
" extends ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataSearchPluginApi",
|
|
"section": "def-common.IKibanaSearchRequest",
|
|
"text": "IKibanaSearchRequest"
|
|
},
|
|
"<",
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.EqlRequestParams",
|
|
"text": "EqlRequestParams"
|
|
},
|
|
">"
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.EqlSearchStrategyRequest.options",
|
|
"type": "Object",
|
|
"label": "options",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 24,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L24"
|
|
},
|
|
"signature": [
|
|
"TransportRequestOptions",
|
|
" | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 23,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L23"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.IAsyncSearchOptions",
|
|
"type": "Interface",
|
|
"label": "IAsyncSearchOptions",
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.IAsyncSearchOptions",
|
|
"text": "IAsyncSearchOptions"
|
|
},
|
|
" extends ",
|
|
{
|
|
"pluginId": "data",
|
|
"scope": "common",
|
|
"docId": "kibDataSearchPluginApi",
|
|
"section": "def-common.ISearchOptions",
|
|
"text": "ISearchOptions"
|
|
}
|
|
],
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.IAsyncSearchOptions.pollInterval",
|
|
"type": "number",
|
|
"label": "pollInterval",
|
|
"description": [
|
|
"\nThe number of milliseconds to wait between receiving a response and sending another request"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 33,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L33"
|
|
},
|
|
"signature": [
|
|
"number | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 29,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L29"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.SearchSessionSavedObjectAttributes",
|
|
"type": "Interface",
|
|
"label": "SearchSessionSavedObjectAttributes",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.sessionId",
|
|
"type": "string",
|
|
"label": "sessionId",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 12,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L12"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.name",
|
|
"type": "string",
|
|
"label": "name",
|
|
"description": [
|
|
"\nUser-facing session name to be displayed in session management"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 16,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L16"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.appId",
|
|
"type": "string",
|
|
"label": "appId",
|
|
"description": [
|
|
"\nApp that created the session. e.g 'discover'"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 20,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L20"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.created",
|
|
"type": "string",
|
|
"label": "created",
|
|
"description": [
|
|
"\nCreation time of the session"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 24,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L24"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.touched",
|
|
"type": "string",
|
|
"label": "touched",
|
|
"description": [
|
|
"\nLast touch time of the session"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 28,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L28"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.expires",
|
|
"type": "string",
|
|
"label": "expires",
|
|
"description": [
|
|
"\nExpiration time of the session. Expiration itself is managed by Elasticsearch."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 32,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L32"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.status",
|
|
"type": "Enum",
|
|
"label": "status",
|
|
"description": [
|
|
"\nstatus"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 36,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L36"
|
|
},
|
|
"signature": [
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.SearchSessionStatus",
|
|
"text": "SearchSessionStatus"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.urlGeneratorId",
|
|
"type": "string",
|
|
"label": "urlGeneratorId",
|
|
"description": [
|
|
"\nurlGeneratorId"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 40,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L40"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.initialState",
|
|
"type": "Object",
|
|
"label": "initialState",
|
|
"description": [
|
|
"\nThe application state that was used to create the session.\nShould be used, for example, to re-load an expired search session."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 45,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L45"
|
|
},
|
|
"signature": [
|
|
"Record<string, unknown> | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.restoreState",
|
|
"type": "Object",
|
|
"label": "restoreState",
|
|
"description": [
|
|
"\nApplication state that should be used to restore the session.\nFor example, relative dates are conveted to absolute ones."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 50,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L50"
|
|
},
|
|
"signature": [
|
|
"Record<string, unknown> | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.idMapping",
|
|
"type": "Object",
|
|
"label": "idMapping",
|
|
"description": [
|
|
"\nMapping of search request hashes to their corresponsing info (async search id, etc.)"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 54,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L54"
|
|
},
|
|
"signature": [
|
|
"Record<string, ",
|
|
{
|
|
"pluginId": "dataEnhanced",
|
|
"scope": "common",
|
|
"docId": "kibDataEnhancedPluginApi",
|
|
"section": "def-common.SearchSessionRequestInfo",
|
|
"text": "SearchSessionRequestInfo"
|
|
},
|
|
">"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.persisted",
|
|
"type": "boolean",
|
|
"label": "persisted",
|
|
"description": [
|
|
"\nThis value is true if the session was actively stored by the user. If it is false, the session may be purged by the system."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 59,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L59"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.realmType",
|
|
"type": "string",
|
|
"label": "realmType",
|
|
"description": [
|
|
"\nThe realm type/name & username uniquely identifies the user who created this search session"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 63,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L63"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.realmName",
|
|
"type": "string",
|
|
"label": "realmName",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 64,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L64"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionSavedObjectAttributes.username",
|
|
"type": "string",
|
|
"label": "username",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 65,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L65"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 11,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L11"
|
|
},
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.SearchSessionRequestInfo",
|
|
"type": "Interface",
|
|
"label": "SearchSessionRequestInfo",
|
|
"description": [],
|
|
"tags": [],
|
|
"children": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionRequestInfo.id",
|
|
"type": "string",
|
|
"label": "id",
|
|
"description": [
|
|
"\nID of the async search request"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 72,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L72"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionRequestInfo.strategy",
|
|
"type": "string",
|
|
"label": "strategy",
|
|
"description": [
|
|
"\nSearch strategy used to submit the search request"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 76,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L76"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionRequestInfo.status",
|
|
"type": "string",
|
|
"label": "status",
|
|
"description": [
|
|
"\nstatus"
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 80,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L80"
|
|
}
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SearchSessionRequestInfo.error",
|
|
"type": "string",
|
|
"label": "error",
|
|
"description": [
|
|
"\nAn optional error. Set if status is set to error."
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 84,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L84"
|
|
},
|
|
"signature": [
|
|
"string | undefined"
|
|
]
|
|
}
|
|
],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 68,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L68"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"id": "def-common.SearchSessionStatus",
|
|
"type": "Enum",
|
|
"label": "SearchSessionStatus",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/status.ts",
|
|
"lineNumber": 8,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/status.ts#L8"
|
|
},
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"misc": [
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.SEARCH_SESSION_TYPE",
|
|
"type": "string",
|
|
"label": "SEARCH_SESSION_TYPE",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/session/types.ts",
|
|
"lineNumber": 10,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/session/types.ts#L10"
|
|
},
|
|
"signature": [
|
|
"\"search-session\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.ENHANCED_ES_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "ENHANCED_ES_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 17,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L17"
|
|
},
|
|
"signature": [
|
|
"\"ese\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"tags": [],
|
|
"id": "def-common.EQL_SEARCH_STRATEGY",
|
|
"type": "string",
|
|
"label": "EQL_SEARCH_STRATEGY",
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 19,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L19"
|
|
},
|
|
"signature": [
|
|
"\"eql\""
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.EqlRequestParams",
|
|
"type": "Type",
|
|
"label": "EqlRequestParams",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 21,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L21"
|
|
},
|
|
"signature": [
|
|
"EqlSearch<Record<string, unknown>>"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"id": "def-common.EqlSearchStrategyResponse",
|
|
"type": "Type",
|
|
"label": "EqlSearchStrategyResponse",
|
|
"tags": [],
|
|
"description": [],
|
|
"source": {
|
|
"path": "x-pack/plugins/data_enhanced/common/search/types.ts",
|
|
"lineNumber": 27,
|
|
"link": "https://github.com/elastic/kibana/tree/7.xx-pack/plugins/data_enhanced/common/search/types.ts#L27"
|
|
},
|
|
"signature": [
|
|
"IKibanaSearchResponse<ApiResponse<T, ",
|
|
"Context",
|
|
">>"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"objects": []
|
|
}
|
|
} |