From d3a553e12f0aaf2a54dc49b662b871d109c6acba Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 29 Nov 2021 08:13:22 -0800 Subject: [PATCH] [ML] Updates visiblity of validate API (#81061) --- .../src/main/resources/rest-api-spec/api/ml.validate.json | 2 +- .../main/resources/rest-api-spec/api/ml.validate_detector.json | 2 +- .../resources/rest-api-spec/api/xpack-ml.validate.json | 2 +- .../resources/rest-api-spec/api/xpack-ml.validate_detector.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate.json index 5db5f91ddc527..b57f1bb69ffa1 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate.json @@ -5,7 +5,7 @@ "description":"Validates an anomaly detection job." }, "stability":"stable", - "visibility":"public", + "visibility":"private", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json index 30a24b1c6074a..1400da1ccee09 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json +++ b/rest-api-spec/src/main/resources/rest-api-spec/api/ml.validate_detector.json @@ -5,7 +5,7 @@ "description":"Validates an anomaly detection detector." }, "stability":"stable", - "visibility":"public", + "visibility":"private", "headers":{ "accept": [ "application/json"], "content_type": ["application/json"] diff --git a/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate.json b/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate.json index 7c9bbf70f4469..ad337c3c1ad82 100644 --- a/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate.json +++ b/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate.json @@ -5,7 +5,7 @@ "description":"Validates an anomaly detection job." }, "stability":"stable", - "visibility":"public", + "visibility":"private", "headers":{ "accept": [ "application/vnd.elasticsearch+json;compatible-with=7"], "content_type": ["application/json"] diff --git a/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate_detector.json b/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate_detector.json index fe5fdd7a7b7a1..5a06df8977dfc 100644 --- a/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate_detector.json +++ b/x-pack/qa/xpack-prefix-rest-compat/src/yamlRestTestV7Compat/resources/rest-api-spec/api/xpack-ml.validate_detector.json @@ -5,7 +5,7 @@ "description":"Validates an anomaly detection detector." }, "stability":"stable", - "visibility":"public", + "visibility":"private", "headers":{ "accept": [ "application/vnd.elasticsearch+json;compatible-with=7"], "content_type": ["application/json"]