update apis

This commit is contained in:
Spencer Alger
2015-07-02 08:15:43 -07:00
parent 0f9b1f6c85
commit 2c3ce2a800
4 changed files with 50 additions and 28 deletions

View File

@ -163,9 +163,6 @@ module.exports = [
'/{index}/_stats/indexing',
'/{index}/_stats/search/{search_groups}',
'/{index}/_stats/fielddata/{fields}'
],
'snapshot.create': [
'/_snapshot/{repository}/{snapshot}'
]
}
},
@ -178,6 +175,14 @@ module.exports = [
]
}
},
{
version: '<1.6.0',
aliases: {
'snapshot.create': [
'/_snapshot/{repository}/{snapshot}'
]
}
},
{
version: '>=1.6.0',