Skip to content

Commit

Permalink
Correcting visibility of ML APIs in serverless
Browse files Browse the repository at this point in the history
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.)
  • Loading branch information
droberts195 committed Jul 24, 2023
1 parent 03c453f commit 10f9e48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
* Evaluates a trained model.
* @rest_spec_name ml.infer_trained_model
* @availability stack since=8.3.0 stability=stable
* @availability serverless stability=stable visibility=private
* @availability serverless stability=stable visibility=public
*/
export interface Request extends RequestBase {
path_parts: {
Expand Down
1 change: 0 additions & 1 deletion specification/ml/post_data/MlPostJobDataRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import { DateTime } from '@_types/Time'
* It is not currently possible to post data to multiple jobs using wildcards or a comma-separated list.
* @rest_spec_name ml.post_data
* @availability stack since=5.4.0 stability=stable
* @availability serverless stability=stable visibility=private
* @deprecated 7.11.0 Posting data directly to anomaly detection jobs is deprecated, in a future major version a datafeed will be required.
* @cluster_privileges manage_ml
*/
Expand Down

0 comments on commit 10f9e48

Please sign in to comment.