This is related to #31537. It fixes two syntax errors that are breaking the docs build.
With this commit we add the get snapshots API to the Java high level REST client. Relates #27205