Răsfoiți Sursa

[SPEC] Renamed snapshot/restore apis

Clinton Gormley 11 ani în urmă
părinte
comite
84e2e1c177

+ 1 - 1
rest-api-spec/api/cluster.repositories.put.json → rest-api-spec/api/cluster.create_repository

@@ -1,5 +1,5 @@
 {
-  "cluster.repositories.put": {
+  "cluster.create_repository": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["PUT", "POST"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.snapshots.create.json → rest-api-spec/api/cluster.create_snapshot.json

@@ -1,5 +1,5 @@
 {
-  "cluster.snapshots.create": {
+  "cluster.create_snapshot": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["PUT", "POST"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.repositories.delete.json → rest-api-spec/api/cluster.delete_repository.json

@@ -1,5 +1,5 @@
 {
-  "cluster.repositories.delete": {
+  "cluster.delete_repository": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["DELETE"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.snapshots.delete.json → rest-api-spec/api/cluster.delete_snapshot.json

@@ -1,5 +1,5 @@
 {
-  "cluster.snapshots.delete": {
+  "cluster.delete_snapshot": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["DELETE"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.repositories.get.json → rest-api-spec/api/cluster.get_repository.json

@@ -1,5 +1,5 @@
 {
-  "cluster.repositories.get": {
+  "cluster.get_repository.json": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["GET"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.snapshots.get.json → rest-api-spec/api/cluster.get_snapshot.json

@@ -1,5 +1,5 @@
 {
-  "cluster.snapshots.get": {
+  "cluster.get_snapshot": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["GET"],
     "url": {

+ 1 - 1
rest-api-spec/api/cluster.snapshots.restore.json → rest-api-spec/api/cluster.restore_snapshot.json

@@ -1,5 +1,5 @@
 {
-  "cluster.snapshots.restore": {
+  "cluster.restore_snapshot": {
     "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html",
     "methods": ["POST"],
     "url": {