Skip to content

Update rest-api-spec 8.18 #3822

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 24, 2025
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
11 changes: 0 additions & 11 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@
],
"response": []
},
"cat.help": {
"request": [
"Request: missing json spec query parameter 'help'",
"Request: missing json spec query parameter 's'"
],
"response": []
},
"cat.indices": {
"request": [
"request definition cat.indices:Request / body - A request with inherited properties must have a PropertyBody"
Expand Down Expand Up @@ -138,8 +131,6 @@
},
"cat.segments": {
"request": [
"Request: query parameter 'local' does not exist in the json spec",
"Request: query parameter 'master_timeout' does not exist in the json spec",
"request definition cat.segments:Request / body - A request with inherited properties must have a PropertyBody"
],
"response": []
Expand All @@ -158,8 +149,6 @@
},
"cat.tasks": {
"request": [
"Request: query parameter 'timeout' does not exist in the json spec",
"Request: query parameter 'wait_for_completion' does not exist in the json spec",
"request definition cat.tasks:Request / body - A request with inherited properties must have a PropertyBody"
],
"response": []
Expand Down
11 changes: 0 additions & 11 deletions specification/_json_spec/cat.help.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,6 @@
"methods": ["GET"]
}
]
},
"params": {
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
}
}
}
}
8 changes: 8 additions & 0 deletions specification/_json_spec/cat.segments.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"local": {
"type": "boolean",
"description": "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type": "time",
"description": "Explicit operation timeout for connection to master node"
},
"bytes": {
"type": "enum",
"description": "The unit in which to display byte values",
Expand Down
10 changes: 10 additions & 0 deletions specification/_json_spec/cat.tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,16 @@
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"timeout": {
"type": "time",
"default": "30s",
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
},
"wait_for_completion": {
"type": "boolean",
"default": false,
"description": "If `true`, the request blocks until the task has completed."
}
}
}
Expand Down