Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"endpointErrors": {
"bulk": {
"request": [
"Request: missing json spec query parameter 'type'"
],
"response": []
}
},
"endpointErrors": {},
"generalErrors": []
}
4 changes: 0 additions & 4 deletions specification/_json_spec/bulk.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
31 changes: 31 additions & 0 deletions specification/_json_spec/transform.set_upgrade_mode.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
}