diff --git a/api/internal/crawl/search_cmds/snapshot.md b/api/internal/crawl/search_cmds/snapshot.md new file mode 100644 index 000000000..2397cb09e --- /dev/null +++ b/api/internal/crawl/search_cmds/snapshot.md @@ -0,0 +1,24 @@ +Retrieve information about all registered snapshot repositories: +``` +curl -X GET "${ElasticSearchURL}:9200/_snapshot?pretty" +``` + +Retrieve information about a given snapshot repository, `gcskustomize`: +``` +curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize?pretty" +``` + +Verify a snapshot repository, `gcskustomize`, manually: +``` +curl -X POST "${ElasticSearchURL}:9200/_snapshot/gcskustomize/_verify?pretty" +``` + +Retrieve a summary information about a given snapshot: +``` +curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize/kustomize-snapshot?pretty" +``` + +Retrieve a detailed information about a given snapshot: +``` +curl -X GET "${ElasticSearchURL}:9200/_snapshot/gcskustomize/kustomize-snapshot/_status?pretty" +```