Skip to content
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

[7.x] Get data stream accepts single search parameter #54721

Merged

Conversation

danhermann
Copy link
Contributor

Changes the GET /_data_streams endpoint to accept a single search parameter.

If the search parameter contains wildcards, a list of matching data streams will be returned or the empty list if there are no matches. If the search parameter does not contain wildcards, the single matching data stream, if any, will be returned. If there are no matches, the response code of 404 will be returned.

The GET /_data_streams request without an explicit search parameter will be treated as GET /_data_streams/*.

Relates to #53100

Backport of #54530

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Data streams)

@danhermann danhermann merged commit 18fef3d into elastic:7.x Apr 3, 2020
@danhermann danhermann deleted the backport_54530_single_search_parameter branch April 3, 2020 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants