Skip to content

Commit 8fb16d8

Browse files
authored
Correcting visibility of ML APIs in serverless (#2206)
Two ML APIs had the wrong serverless visibility: 1. Post data should not be visible at all in serverless 2. Infer trained model should be visible publicly (With the infer endpoint there was confusion about the deprecated infer trained model _deployment_ API, which we want to pretend does not exist.)
1 parent 03c453f commit 8fb16d8

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

output/schema/schema.json

Lines changed: 2 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/ml/infer_trained_model/MlInferTrainedModelRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
2828
* Evaluates a trained model.
2929
* @rest_spec_name ml.infer_trained_model
3030
* @availability stack since=8.3.0 stability=stable
31-
* @availability serverless stability=stable visibility=private
31+
* @availability serverless stability=stable visibility=public
3232
*/
3333
export interface Request extends RequestBase {
3434
path_parts: {

specification/ml/post_data/MlPostJobDataRequest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import { DateTime } from '@_types/Time'
2828
* It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
2929
* @rest_spec_name ml.post_data
3030
* @availability stack since=5.4.0 stability=stable
31-
* @availability serverless stability=stable visibility=private
3231
* @deprecated 7.11.0 Posting data directly to anomaly detection jobs is deprecated, in a future major version a datafeed will be required.
3332
* @cluster_privileges manage_ml
3433
*/

0 commit comments

Comments
 (0)