kibana/api_docs/data_query.mdx
Stacey Gammon 7111bcf5f4
Fix the API docs bug, where optional functions on interfaces were losing their children. (#107236) (#107905)
* Fix the bug and update tests

* update api docs

* Fix tests
# Conflicts:
#	api_docs/charts.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_field_formats.mdx
#	api_docs/data_index_patterns.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.json
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/es_ui_shared.mdx
#	api_docs/fleet.mdx
#	api_docs/reporting.json
#	api_docs/rule_registry.mdx
#	api_docs/security_solution.json
#	api_docs/security_solution.mdx
#	api_docs/timelines.json
#	api_docs/timelines.mdx
#	api_docs/visualizations.mdx
2021-08-09 12:51:00 -04:00

48 lines
1.5 KiB
Plaintext

---
id: kibDataQueryPluginApi
slug: /kibana-dev-docs/data.queryPluginApi
title: data.query
image: https://source.unsplash.com/400x175/?github
summary: API docs for the data.query plugin
date: 2020-11-16
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'data.query']
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
---
import dataQueryObj from './data_query.json';
Data services are useful for searching and querying data from Elasticsearch. Helpful utilities include: a re-usable react query bar, KQL autocomplete, async search, Data Views (Index Patterns) and field formatters.
Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin.
**Code health stats**
| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 3735 | 59 | 3217 | 52 |
## Client
### Functions
<DocDefinitionList data={dataQueryObj.client.functions}/>
### Classes
<DocDefinitionList data={dataQueryObj.client.classes}/>
### Interfaces
<DocDefinitionList data={dataQueryObj.client.interfaces}/>
### Consts, variables and types
<DocDefinitionList data={dataQueryObj.client.misc}/>
## Common
### Functions
<DocDefinitionList data={dataQueryObj.common.functions}/>
### Interfaces
<DocDefinitionList data={dataQueryObj.common.interfaces}/>
### Consts, variables and types
<DocDefinitionList data={dataQueryObj.common.misc}/>