-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] Adds data frame API response codes for allow_no_match #43666
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
|
Pinging @elastic/es-docs |
|
Pinging @elastic/ml-core |
| been specified. The default is `true`. | ||
| (boolean) Specifies what to do when the request contains a wildcard expression | ||
| and there are no {dataframe-transforms} that match. The default value is | ||
| `true`, which returns an empty `transforms` array in this scenario. If it's |
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.
It is also if there is a partial match. If somebody supplies the patter test-id*,missing* and missing* does not match but test-id* does, we will return the test-id* matched transforms without the missing*.
If the allow_no_match is false, we would through the 404, even if there is a partial match for one of the patterns.
|
|
||
| `404`:: | ||
| If `allow_no_match` is `false`, this code indicates that there are no | ||
| resources that match the request. |
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.
This should refer to missing resources a partial match is also errored out in this case.
|
Thanks for the feedback, @benwtrent. I've updated the three pages to try to be clearer about the partial match behaviour. |
benwtrent
left a comment
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.
📝 ✔️
|
@elasticmachine update branch |
Related to #43490
This PR adds a response codes section to the documentation for the get data frame transforms, get data frame transform statistics, and stop data frame transforms APIs. It also edits the description of the allow_no_match query parameter.