Skip to content

Commit 5e35690

Browse files
Merge remote-tracking branch 'origin/master' into fix_search_allow_partial_results_false
2 parents 935f0df + 4db49b2 commit 5e35690

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.cleanup_repository.json

+22-16
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,31 @@
22
"snapshot.cleanup_repository": {
33
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
44
"stability": "stable",
5-
"methods": ["POST"],
65
"url": {
7-
"paths": ["/_snapshot/{repository}/_cleanup"],
8-
"parts": {
9-
"repository": {
10-
"type": "string",
11-
"required" : true,
12-
"description": "A repository name"
6+
"paths": [
7+
{
8+
"path": "/_snapshot/{repository}/_cleanup",
9+
"methods": [
10+
"POST"
11+
],
12+
"parts": {
13+
"repository": {
14+
"type": "string",
15+
"required" : true,
16+
"description": "A repository name"
17+
}
18+
}
1319
}
20+
]
21+
},
22+
"params": {
23+
"master_timeout": {
24+
"type" : "time",
25+
"description" : "Explicit operation timeout for connection to master node"
1426
},
15-
"params": {
16-
"master_timeout": {
17-
"type" : "time",
18-
"description" : "Explicit operation timeout for connection to master node"
19-
},
20-
"timeout": {
21-
"type" : "time",
22-
"description" : "Explicit operation timeout"
23-
}
27+
"timeout": {
28+
"type" : "time",
29+
"description" : "Explicit operation timeout"
2430
}
2531
},
2632
"body": {}

0 commit comments

Comments
 (0)