API generation

This commit is contained in:
delvedor
2019-07-08 16:31:46 +02:00
parent a3eb4d2874
commit ea3cd7dd58
8 changed files with 14 additions and 7 deletions

View File

@ -26,7 +26,7 @@ function buildMlDeleteDataFrameAnalytics (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.delete_data_frame_analytics](undefined) request
* Perform a [ml.delete_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html) request
*
* @param {string} id - The ID of the data frame analytics to delete
*/

View File

@ -26,7 +26,7 @@ function buildMlEvaluateDataFrame (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.evaluate_data_frame](undefined) request
* Perform a [ml.evaluate_data_frame](http://www.elastic.co/guide/en/elasticsearch/reference/current/evaluate-dfanalytics.html) request
*
* @param {object} body - The evaluation definition
*/

View File

@ -26,7 +26,7 @@ function buildMlGetDataFrameAnalytics (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.get_data_frame_analytics](undefined) request
* Perform a [ml.get_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics.html) request
*
* @param {string} id - The ID of the data frame analytics to fetch
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)

View File

@ -26,7 +26,7 @@ function buildMlGetDataFrameAnalyticsStats (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.get_data_frame_analytics_stats](undefined) request
* Perform a [ml.get_data_frame_analytics_stats](http://www.elastic.co/guide/en/elasticsearch/reference/current/get-dfanalytics-stats.html) request
*
* @param {string} id - The ID of the data frame analytics stats to fetch
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)

View File

@ -26,7 +26,7 @@ function buildMlPutDataFrameAnalytics (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.put_data_frame_analytics](undefined) request
* Perform a [ml.put_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/put-dfanalytics.html) request
*
* @param {string} id - The ID of the data frame analytics to create
* @param {object} body - The data frame analytics configuration

View File

@ -26,7 +26,7 @@ function buildMlStartDataFrameAnalytics (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.start_data_frame_analytics](undefined) request
* Perform a [ml.start_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/start-dfanalytics.html) request
*
* @param {string} id - The ID of the data frame analytics to start
* @param {time} timeout - Controls the time to wait until the task has started. Defaults to 20 seconds

View File

@ -26,7 +26,7 @@ function buildMlStopDataFrameAnalytics (opts) {
// eslint-disable-next-line no-unused-vars
const { makeRequest, ConfigurationError, handleError, snakeCaseKeys } = opts
/**
* Perform a [ml.stop_data_frame_analytics](undefined) request
* Perform a [ml.stop_data_frame_analytics](http://www.elastic.co/guide/en/elasticsearch/reference/current/stop-dfanalytics.html) request
*
* @param {string} id - The ID of the data frame analytics to stop
* @param {boolean} allow_no_match - Whether to ignore if a wildcard expression matches no data frame analytics. (This includes `_all` string or when no data frame analytics have been specified)