diff --git a/output/schema/schema.json b/output/schema/schema.json index 3e792b1446..27e5ac371f 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -22914,6 +22914,31 @@ } ] }, + { + "availability": { + "stack": { + "stability": "stable", + "visibility": "public" + } + }, + "description": "Sets a cluster wide upgrade_mode setting that prepares transform indices for an upgrade.", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-set-upgrade-mode.html", + "name": "transform.set_upgrade_mode", + "request": null, + "requestBodyRequired": false, + "response": null, + "responseMediaType": [ + "application/json" + ], + "urls": [ + { + "methods": [ + "POST" + ], + "path": "/_transform/set_upgrade_mode" + } + ] + }, { "availability": { "serverless": { diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 3af36f0b4b..f6fab219e8 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -1,11 +1,4 @@ { - "endpointErrors": { - "bulk": { - "request": [ - "Request: missing json spec query parameter 'type'" - ], - "response": [] - } - }, + "endpointErrors": {}, "generalErrors": [] } \ No newline at end of file diff --git a/specification/_json_spec/bulk.json b/specification/_json_spec/bulk.json index c22c761f1a..59ba631e52 100644 --- a/specification/_json_spec/bulk.json +++ b/specification/_json_spec/bulk.json @@ -46,10 +46,6 @@ "type": "time", "description": "Explicit operation timeout" }, - "type": { - "type": "string", - "description": "Default document type for items which don't provide one" - }, "_source": { "type": "list", "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" diff --git a/specification/_json_spec/transform.set_upgrade_mode.json b/specification/_json_spec/transform.set_upgrade_mode.json new file mode 100644 index 0000000000..cc45209034 --- /dev/null +++ b/specification/_json_spec/transform.set_upgrade_mode.json @@ -0,0 +1,31 @@ +{ + "transform.set_upgrade_mode": { + "documentation": { + "url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/transform-set-upgrade-mode.html", + "description": "Sets a cluster wide upgrade_mode setting that prepares transform indices for an upgrade." + }, + "stability": "stable", + "visibility": "public", + "headers": { + "accept": ["application/json"] + }, + "url": { + "paths": [ + { + "path": "/_transform/set_upgrade_mode", + "methods": ["POST"] + } + ] + }, + "params": { + "enabled": { + "type": "boolean", + "description": "Whether to enable upgrade_mode Transform setting or not. Defaults to false." + }, + "timeout": { + "type": "time", + "description": "Controls the time to wait before action times out. Defaults to 30 seconds" + } + } + } +}