Hi,
I'm trying to get a list of snapshots using the size
and sort
parameters:
GET /_snapshot/<repo_name>/snapshots-*?size=2&sort=name
But get this error:
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "request [/_snapshot/<repo_name>/snapshots-*] contains unrecognized parameters: [size], [sort]"
}
],
"type" : "illegal_argument_exception",
"reason" : "request [/_snapshot/<repo_name>/snapshots-*] contains unrecognized parameters: [size], [sort]"
},
"status" : 400
}
What am I doing wrong here? Elasticsearch version is 7.13.1.
Thx
D