Skip to content

Commit

Permalink
[ML] apidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Feb 7, 2020
1 parent 5570202 commit 0bfcb34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x-pack/legacy/plugins/ml/server/routes/apidoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"GetOverallBuckets",
"GetCategories",
"FileDataVisualizer",
"AnalyzeFile"
"AnalyzeFile",
"ImportFile"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ export function fileDataVisualizerRoutes({
})
);

/**
* @apiGroup FileDataVisualizer
*
* @api {post} /api/ml/file_data_visualizer/import Import file data
* @apiName ImportFile
* @apiDescription Imports file data into elasticsearch index.
*/
router.post(
{
path: '/api/ml/file_data_visualizer/import',
Expand Down

0 comments on commit 0bfcb34

Please sign in to comment.