kibana/x-pack/plugins/transform/server
2020-11-02 13:18:00 +01:00
..
client [ML] Transform: Enable force delete if one of the transforms failed (#69472) 2020-06-23 15:05:44 -05:00
routes Upgrade to hapi version 18 (#80468) 2020-11-02 13:18:00 +01:00
services [ML] Transforms: API schemas and integration tests (#75164) 2020-09-14 16:31:23 +02:00
index.ts
plugin.ts Hide management sections based on cluster/index privileges (#67791) 2020-09-14 09:30:47 -04:00
README.md [ML] Transforms: API schemas and integration tests (#75164) 2020-09-14 16:31:23 +02:00
shared_imports.ts [ML] Kibana API endpoint for histogram chart data (#70976) 2020-07-14 13:37:36 +02:00
types.ts Hide management sections based on cluster/index privileges (#67791) 2020-09-14 09:30:47 -04:00

Transform Kibana API routes

This folder contains Transform 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.

There are custom parser and worker (x-pack/plugins/transform/server/routes/apidoc_scripts) to process api schemas for each documentation entry. It's written with typescript so make sure all the scripts in the folder are compiled before executing apidoc command.

Make sure you have run yarn kbn bootstrap to get all requires dev dependencies. Then execute the following command from the transform plugin folder:

yarn run apiDocs

It compiles all the required scripts and generates the documentation both in HTML and Markdown formats.

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