kibana/x-pack/plugins/ml/server/routes
James Gowdy 4ef594c208
[ML] Adding indices_options to datafeed (#59119)
* [ML] Adding indices_options to datafeed

* adding extra checks to the schema

* updating expand_wildcards
2020-03-03 11:59:35 +00:00
..
schemas [ML] Adding indices_options to datafeed (#59119) 2020-03-03 11:59:35 +00:00
annotations.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
anomaly_detectors.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
apidoc.json [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
calendars.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
data_frame_analytics.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
data_visualizer.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
datafeeds.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
fields_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
file_data_visualizer.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
filters.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
indices.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_audit_messages.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
job_validation.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
license_check_pre_routing_factory.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
modules.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
notification_settings.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
README.md [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
results_service.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00
system.ts [ML] NP: migrate server (#58680) 2020-02-27 21:15:08 -05:00

ML Kibana API routes

This folder contains ML API routes in Kibana.

Each route handler requires apiDoc annotations in order to generate documentation. The apidoc-markdown package is also required in order to generate the markdown.

For now the process is pretty manual. You need to make sure the packages mentioned above are installed globally to execute the following command from the directory in which this README file is located.

apidoc -i . -o ../routes_doc && apidoc-markdown -p ../routes_doc -o ../routes_doc/ML_API.md 

It will create a new directory routes_doc (next to the routes folder) which contains the documentation in HTML format as well as ML_API.md file.