kibana/x-pack/plugins/ml/server/routes
2020-03-04 17:04:47 +00:00
..
schemas
annotations.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
anomaly_detectors.ts [ML] Fixing records and buckets results endpoints (#59313) 2020-03-04 17:04:47 +00:00
apidoc.json
calendars.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
data_frame_analytics.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
data_visualizer.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
datafeeds.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
fields_service.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
file_data_visualizer.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
filters.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
indices.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
job_audit_messages.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
job_service.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
job_validation.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
modules.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
notification_settings.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
README.md
results_service.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
system.ts [ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00: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.