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

Get repository should support wildcards #4758

Closed
clintongormley opened this issue Jan 16, 2014 · 3 comments
Closed

Get repository should support wildcards #4758

clintongormley opened this issue Jan 16, 2014 · 3 comments
Assignees
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement good first issue low hanging fruit

Comments

@clintongormley
Copy link
Contributor

These work:

GET /_snapshot/
GET /_snapshot/_all
GET /_snapshot/name
GET /_snapshot/name,name

But wildcards don't:

GET /_snapshot/*
GET /_snapshot/prefi*
@ghost ghost assigned imotov Jan 16, 2014
@dadoonet
Copy link
Member

Wondering if we should also support regex?

We were talking about it about templates with @kimchy to support wildcards (simpleMatch) or regex when using notation like regex:YOUR_REGEX_HERE. WDYT? Does it worth it for snapshots or useless?

Note: it's not implemented yet for templates.

@jsnod
Copy link
Contributor

jsnod commented Jul 30, 2014

I'd like this for delete operations as well, eg:

curl -XDELETE 'http://localhost:9200/_snapshot/myrepo/snapshot_201405*'

@clintongormley
Copy link
Contributor Author

Closed by #15151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement good first issue low hanging fruit
Projects
None yet
Development

No branches or pull requests

5 participants