Java API, get "_all" snapshots in a given repository

Hi,
Via the REST api I can get an listing of all snapshots within a given
repository such as

"_snapshot/myrepo/_all"

How can I do this via the Java API? It appears I can only specify "known"
snapshots via "GetSnapshotsRequest"

Is there anyway via the Java API to get a complete listing without any
prior knowledge of snapshot names?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a198c928-3805-4ef3-b52e-8f3aff8d3a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Answered my own question here (just pass an empty array to snapshots)

On Wednesday, April 15, 2015 at 4:16:00 PM UTC-6, bitsof...@gmail.com wrote:

Hi,
Via the REST api I can get an listing of all snapshots within a given
repository such as

"_snapshot/myrepo/_all"

How can I do this via the Java API? It appears I can only specify "known"
snapshots via "GetSnapshotsRequest"

Is there anyway via the Java API to get a complete listing without any
prior knowledge of snapshot names?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d3f620fa-3595-4cf4-80c4-6cfca856452c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.