Skip to content

Commit dad3977

Browse files
Update rest-api-spec (#3303)
Co-authored-by: pquentin <[email protected]>
1 parent baa10b2 commit dad3977

21 files changed

+222
-85
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 44 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/bulk.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
"type": "time",
4747
"description": "Explicit operation timeout"
4848
},
49+
"type": {
50+
"type": "string",
51+
"description": "Default document type for items which don't provide one"
52+
},
4953
"_source": {
5054
"type": "list",
5155
"description": "True or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request"
@@ -64,11 +68,11 @@
6468
},
6569
"require_alias": {
6670
"type": "boolean",
67-
"description": "If true, the request’s actions must target an index alias. Defaults to false."
71+
"description": "Sets require_alias for all incoming documents. Defaults to unset (false)"
6872
},
6973
"require_data_stream": {
7074
"type": "boolean",
71-
"description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false"
75+
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
7276
},
7377
"list_executed_pipelines": {
7478
"type": "boolean",

specification/_json_spec/ilm.delete_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
}
2424
]
2525
},
26-
"params": {}
26+
"params": {
27+
"master_timeout": {
28+
"type": "time",
29+
"description": "Explicit operation timeout for connection to master node"
30+
},
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
34+
}
35+
}
2736
}
2837
}

specification/_json_spec/ilm.explain_lifecycle.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"only_errors": {
3232
"type": "boolean",
3333
"description": "filters the indices included in the response to ones in an ILM error state, implies only_managed"
34+
},
35+
"master_timeout": {
36+
"type": "time",
37+
"description": "Explicit operation timeout for connection to master node"
3438
}
3539
}
3640
}

specification/_json_spec/ilm.get_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
}
2828
]
2929
},
30-
"params": {}
30+
"params": {
31+
"master_timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout for connection to master node"
34+
},
35+
"timeout": {
36+
"type": "time",
37+
"description": "Explicit operation timeout"
38+
}
39+
}
3140
}
3241
}

specification/_json_spec/ilm.put_lifecycle.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@
2424
}
2525
]
2626
},
27-
"params": {},
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Explicit operation timeout for connection to master node"
31+
},
32+
"timeout": {
33+
"type": "time",
34+
"description": "Explicit operation timeout"
35+
}
36+
},
2837
"body": {
2938
"description": "The lifecycle policy definition to register"
3039
}

specification/_json_spec/ilm.start.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
}
1818
]
1919
},
20-
"params": {}
20+
"params": {
21+
"master_timeout": {
22+
"type": "time",
23+
"description": "Explicit operation timeout for connection to master node"
24+
},
25+
"timeout": {
26+
"type": "time",
27+
"description": "Explicit operation timeout"
28+
}
29+
}
2130
}
2231
}

specification/_json_spec/ilm.stop.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717
}
1818
]
1919
},
20-
"params": {}
20+
"params": {
21+
"master_timeout": {
22+
"type": "time",
23+
"description": "Explicit operation timeout for connection to master node"
24+
},
25+
"timeout": {
26+
"type": "time",
27+
"description": "Explicit operation timeout"
28+
}
29+
}
2130
}
2231
}

specification/_json_spec/ingest.delete_geoip_database.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
}
2424
]
2525
},
26-
"params": {}
26+
"params": {
27+
"master_timeout": {
28+
"type": "time",
29+
"description": "Explicit operation timeout for connection to master node"
30+
},
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
34+
}
35+
}
2736
}
2837
}

specification/_json_spec/ingest.delete_ip_location_database.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
}
2424
]
2525
},
26-
"params": {}
26+
"params": {
27+
"master_timeout": {
28+
"type": "time",
29+
"description": "Explicit operation timeout for connection to master node"
30+
},
31+
"timeout": {
32+
"type": "time",
33+
"description": "Explicit operation timeout"
34+
}
35+
}
2736
}
2837
}

specification/_json_spec/ingest.put_geoip_database.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@
2424
}
2525
]
2626
},
27-
"params": {},
27+
"params": {
28+
"master_timeout": {
29+
"type": "time",
30+
"description": "Explicit operation timeout for connection to master node"
31+
},
32+
"timeout": {
33+
"type": "time",
34+
"description": "Explicit operation timeout"
35+
}
36+
},
2837
"body": {
2938
"description": "The database configuration definition",
3039
"required": true

0 commit comments

Comments
 (0)