-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathindices.create_from.json
36 lines (36 loc) · 1.13 KB
/
indices.create_from.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"indices.create_from": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index-from-source.html",
"description": "This API creates a destination from a source index. It copies the mappings and settings from the source index while allowing request settings and mappings to override the source values."
},
"stability": "experimental",
"visibility": "private",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_create_from/{source}/{dest}",
"methods": ["PUT", "POST"],
"parts": {
"source": {
"type": "string",
"description": "The source index name"
},
"dest": {
"type": "string",
"description": "The destination index name"
}
}
}
]
},
"body": {
"description": "The body contains the fields `mappings_override`, `settings_override`, and `remove_index_blocks`.",
"required": false
}
}
}