Personal Github Blog
curl -XPOST "http://localhost:9200/sampleindex/sampletype/sampleuniqueid2" -H "Content-Type: application/json" -d "{ \"sample_field3\" : \"sample_value3\"}"
curl -XGET "localhost:9200/_search?pretty=true&q=*:*"
curl -X GET "localhost:9200/sampleindex/_cat/indices?pretty=true"
curl -X GET "localhost:9200/_cat/repositories?v"
curl -X GET “localhost:9200/_cat/snapshots/test_snapshot_s3?v&s=id”
curl -X PUT "localhost:9200/_snapshot/my_s3_repository/snapshot_1?wait_for_completion=false"
curl -X POST “172.30.52.223:9200/sampleindex/_close” curl -X POST “localhost:9200/_snapshot/my_s3_repository/snapshot_1/_restore” curl -X POST “172.30.52.223:9200/sampleindex/_open “
curl -XPOST “localhost:9200/_all/_close”
curl -XGET ‘http://localhost:9200/_mapping?pretty=true’