-
Notifications
You must be signed in to change notification settings - Fork 115
Add optional request bodies to three ML APIs #5752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Following you can find the validation changes against the target branch for the APIs. No changes detected. You can validate these APIs yourself by using the |
| body?: { | ||
| /** | ||
| * If provided, must be the same identifier as in the path. | ||
| */ | ||
| id?: Id | ||
| /** | ||
| * Controls the amount of time to wait until the data frame analytics job | ||
| * starts. | ||
| * @server_default 20s | ||
| */ | ||
| timeout?: Duration | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| body?: { | ||
| /** | ||
| * If provided, must be the same identifier as in the path. | ||
| */ | ||
| id?: Id | ||
| /** | ||
| * Specifies what to do when the request: | ||
| * | ||
| * 1. Contains wildcard expressions and there are no data frame analytics | ||
| * jobs that match. | ||
| * 2. Contains the _all string or no identifiers and there are no matches. | ||
| * 3. Contains wildcard expressions and there are only partial matches. | ||
| * | ||
| * The default value is true, which returns an empty data_frame_analytics | ||
| * array when there are no matches and the subset of results when there are | ||
| * partial matches. If this parameter is false, the request returns a 404 | ||
| * status code when there are no matches or only partial matches. | ||
| * @server_default true | ||
| */ | ||
| allow_no_match?: boolean | ||
| /** | ||
| * If true, the data frame analytics job is stopped forcefully. | ||
| * @server_default false | ||
| */ | ||
| force?: boolean | ||
| /** | ||
| * Controls the amount of time to wait until the data frame analytics job | ||
| * stops. Defaults to 20 seconds. | ||
| * @server_default 20s | ||
| */ | ||
| timeout?: Duration | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| body?: { | ||
| /** | ||
| * If provided, must be the same identifier as in the path. | ||
| */ | ||
| id?: Id | ||
| /** | ||
| * Specifies what to do when the request: contains wildcard expressions and there are no deployments that match; | ||
| * contains the `_all` string or no identifiers and there are no matches; or contains wildcard expressions and | ||
| * there are only partial matches. By default, it returns an empty array when there are no matches and the subset of results when there are partial matches. | ||
| * If `false`, the request returns a 404 status code when there are no matches or only partial matches. | ||
| * @server_default true | ||
| */ | ||
| allow_no_match?: boolean | ||
| /** | ||
| * Forcefully stops the deployment, even if it is used by ingest pipelines. You can't use these pipelines until you | ||
| * restart the model deployment. | ||
| * @server_default false | ||
| */ | ||
| force?: boolean | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Add optional body to three ML APIs * Fix lint (cherry picked from commit 650c9f1)
* Add optional body to three ML APIs * Fix lint (cherry picked from commit 650c9f1)
* Add optional body to three ML APIs * Fix lint (cherry picked from commit 650c9f1)
No description provided.