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

Add Snapshots endpoint for retrieving all snapshots #41210

Closed
cjcenizal opened this issue Apr 15, 2019 · 2 comments · Fixed by #42090
Closed

Add Snapshots endpoint for retrieving all snapshots #41210

cjcenizal opened this issue Apr 15, 2019 · 2 comments · Fixed by #42090
Assignees
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >enhancement

Comments

@cjcenizal
Copy link
Contributor

Per discussion with @ywelsch, the internal requests currently only support a single repo, but could be extended to multiple repositories. This will also require adaptions to the response objects (so that it is clear from which repo the response is coming from). Note that it's technically possible for the same snapshot to belong to multiple repositories.

This is related to #15151, which added support for wildcards.

Some background behind this. The ES UI team is building a Snapshot and Restore app which surfaces a table of all snapshots, with the related repository. Currently, this requires retrieving all repositories, looping over them, and sending a request to retrieve all snapshots for each repository.

image

In addition to providing information about which repository a snapshot belongs to, the endpoint should also return a collection of any errors that repositories respond with, associated with the name of the repository.

@cjcenizal cjcenizal added >enhancement :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Apr 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@cjcenizal
Copy link
Contributor Author

CC @jen-huang

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
Projects
None yet
3 participants