From 04ff94a18010db786ea320bea51dfc0f5c1f8a40 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Tue, 4 Jul 2017 11:10:34 -0700 Subject: [PATCH] [DOCS] Update doc links for ML APIs (elastic/x-pack-elasticsearch#1882) Original commit: elastic/x-pack-elasticsearch@cdc45f282dbdde2b03daa02520c7352f29cd01a6 --- .../test/resources/rest-api-spec/api/xpack.ml.close_job.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.delete_datafeed.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.delete_job.json | 2 +- .../rest-api-spec/api/xpack.ml.delete_model_snapshot.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.flush_job.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_buckets.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_categories.json | 2 +- .../rest-api-spec/api/xpack.ml.get_datafeed_stats.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_datafeeds.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_influencers.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_job_stats.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.get_jobs.json | 2 +- .../rest-api-spec/api/xpack.ml.get_model_snapshots.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.get_records.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.open_job.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.post_data.json | 3 +-- .../rest-api-spec/api/xpack.ml.preview_datafeed.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.put_datafeed.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.put_job.json | 4 ++-- .../rest-api-spec/api/xpack.ml.revert_model_snapshot.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.start_datafeed.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.stop_datafeed.json | 2 +- .../resources/rest-api-spec/api/xpack.ml.update_datafeed.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.update_job.json | 2 +- .../rest-api-spec/api/xpack.ml.update_model_snapshot.json | 2 +- .../test/resources/rest-api-spec/api/xpack.ml.validate.json | 3 +-- .../rest-api-spec/api/xpack.ml.validate_detector.json | 3 +-- 27 files changed, 28 insertions(+), 31 deletions(-) diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json index 93385db95a7..44d18f31387 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.close_job.json @@ -1,6 +1,6 @@ { "xpack.ml.close_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-close-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-close-job.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/_close", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json index 6c634720df9..05ec6e0cd2d 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.delete_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-datafeed.html", "methods": [ "DELETE" ], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json index 924af13224c..77eb89c00f9 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_job.json @@ -1,6 +1,6 @@ { "xpack.ml.delete_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-job.html", "methods": [ "DELETE" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json index 6d0693db6a5..4616e45737e 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.delete_model_snapshot.json @@ -1,6 +1,6 @@ { "xpack.ml.delete_model_snapshot": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-delete-snapshot.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-snapshot.html", "methods": [ "DELETE" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json index 92561ec5511..de174183b75 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.flush_job.json @@ -1,6 +1,6 @@ { "xpack.ml.flush_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-flush-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-flush-job.html", "methods": [ "POST" ], diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json index f67edeb517f..b94f534884d 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_buckets.json @@ -1,6 +1,6 @@ { "xpack.ml.get_buckets": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-bucket.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-bucket.html", "methods": [ "GET", "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/results/buckets/{timestamp}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json index b5337e4d4e5..481aba426df 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_categories.json @@ -1,6 +1,6 @@ { "xpack.ml.get_categories": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-category.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-category.html", "methods": [ "GET", "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/results/categories/{category_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json index c399966bff2..08342942413 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeed_stats.json @@ -1,6 +1,6 @@ { "xpack.ml.get_datafeed_stats": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed-stats.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed-stats.html", "methods": [ "GET"], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}/_stats", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json index cf2073c582c..6c8911c1ecd 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_datafeeds.json @@ -1,6 +1,6 @@ { "xpack.ml.get_datafeeds": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-datafeed.html", "methods": [ "GET"], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json index 756015b68ec..88a42a88091 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_influencers.json @@ -1,6 +1,6 @@ { "xpack.ml.get_influencers": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-influencer.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-influencer.html", "methods": [ "GET", "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/results/influencers", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json index b5d7a545454..a9c53032a1a 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_job_stats.json @@ -1,6 +1,6 @@ { "xpack.ml.get_job_stats": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job-stats.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job-stats.html", "methods": [ "GET"], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/_stats", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json index 28e268578fd..da85162f6dc 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_jobs.json @@ -1,6 +1,6 @@ { "xpack.ml.get_jobs": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-job.html", "methods": [ "GET"], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json index a22420c942b..4bb94546200 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_model_snapshots.json @@ -1,6 +1,6 @@ { "xpack.ml.get_model_snapshots": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-snapshot.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-snapshot.html", "methods": [ "GET", "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json index 4c2ba767f70..d039d9d4a40 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.get_records.json @@ -1,6 +1,6 @@ { "xpack.ml.get_records": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-get-record.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-get-record.html", "methods": ["GET", "POST"], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/results/records", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json index 01fa614982f..4a1d8a7c633 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.open_job.json @@ -1,6 +1,6 @@ { "xpack.ml.open_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-open-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-open-job.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/_open", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json index 54e39a7c88d..b25af68b268 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.post_data.json @@ -1,6 +1,6 @@ { "xpack.ml.post_data": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-post-data.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-post-data.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/_data", @@ -30,4 +30,3 @@ } } } - diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json index b7d19c01b41..66e201e630a 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.preview_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.preview_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-preview-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-preview-datafeed.html", "methods": [ "GET" ], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}/_preview", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json index 321ece66949..0f7e4de21c7 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.put_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-datafeed.html", "methods": [ "PUT" ], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json index 63887a9731f..f7b292cdafc 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.put_job.json @@ -1,6 +1,6 @@ { "xpack.ml.put_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-put-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-put-job.html", "methods": [ "PUT" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}", @@ -16,6 +16,6 @@ "body": { "description" : "The job", "required" : true - } + } } } diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json index 937f25fc685..b3d23c2353e 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.revert_model_snapshot.json @@ -1,6 +1,6 @@ { "xpack.ml.revert_model_snapshot": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-revert-snapshot.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-revert-snapshot.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_revert", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json index b52df9e0fc8..1018cb22436 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.start_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.start_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-start-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-start-datafeed.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}/_start", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json index 8f1267276c7..6bf59b301ad 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.stop_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.stop_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-stop-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-stop-datafeed.html", "methods": [ "POST" ], diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json index 7ea0d9fbda5..d089012325a 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_datafeed.json @@ -1,6 +1,6 @@ { "xpack.ml.update_datafeed": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-datafeed.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-datafeed.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/datafeeds/{datafeed_id}/_update", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json index e5f856f725d..d59e5811364 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_job.json @@ -1,6 +1,6 @@ { "xpack.ml.update_job": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-job.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-job.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/_update", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json index 3be9e156b32..5c62e0d3b8a 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.update_model_snapshot.json @@ -1,6 +1,6 @@ { "xpack.ml.update_model_snapshot": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-update-snapshot.html", + "documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-update-snapshot.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_update", diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json index 38543605374..bee1f20b2f2 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate.json @@ -1,6 +1,5 @@ { "xpack.ml.validate": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-valid-job.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/_validate", @@ -10,6 +9,6 @@ "body": { "description" : "The job config", "required" : true - } + } } } diff --git a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json index 96816784d53..587bc3fb51a 100644 --- a/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json +++ b/plugin/src/test/resources/rest-api-spec/api/xpack.ml.validate_detector.json @@ -1,6 +1,5 @@ { "xpack.ml.validate_detector": { - "documentation": "http://www.elastic.co/guide/en/x-pack/current/ml-valid-detector.html", "methods": [ "POST" ], "url": { "path": "/_xpack/ml/anomaly_detectors/_validate/detector", @@ -10,6 +9,6 @@ "body": { "description" : "The detector", "required" : true - } + } } }