Skip to content
Closed
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
80 changes: 80 additions & 0 deletions output/openapi/elasticsearch-openapi.json

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

67 changes: 66 additions & 1 deletion output/schema/schema.json

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

13 changes: 1 addition & 12 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
{
"endpointErrors": {
"cat.segments": {
"request": [
"Request: missing json spec query parameter 'ignore_unavailable'",
"Request: missing json spec query parameter 'ignore_throttled'",
"Request: missing json spec query parameter 'allow_no_indices'",
"Request: missing json spec query parameter 'expand_wildcards'",
"Request: missing json spec query parameter 'allow_closed'"
],
"response": []
}
},
"endpointErrors": {},
"generalErrors": [
"Dangling type '_global.scripts_painless_execute:PainlessExecutionPosition'",
"Dangling type '_global.scripts_painless_execute:PainlessScript'",
Expand Down
5 changes: 5 additions & 0 deletions output/typescript/types.ts

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

32 changes: 31 additions & 1 deletion specification/cat/segments/CatSegmentsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

import { Indices, Names } from '@_types/common'
import { ExpandWildcards, Indices, Names } from '@_types/common'
import { Duration } from '@_types/Time'
import { CatRequestBase, CatSegmentsColumns } from '@cat/_types/CatBase'

Expand Down Expand Up @@ -79,5 +79,35 @@ export interface Request extends CatRequestBase {
* @server_default 30s
*/
master_timeout?: Duration
/**
* Type of index that wildcard expressions can match. If the request can target data streams, this argument
* determines whether wildcard expressions match hidden data streams. Supports comma-separated values,
* such as open,hidden.
* @server_default open
*/
expand_wildcards?: ExpandWildcards
/**
* If false, the request returns an error if any wildcard expression, index alias, or _all value targets only
* missing or closed indices. This behavior applies even if the request targets other open indices. For example,
* a request targeting foo*,bar* returns an error if an index starts with foo but no index starts with bar.
* @server_default true
*/
allow_no_indices?: boolean
/**
* If true, concrete, expanded or aliased indices are ignored when frozen.
* @server_default false
*/
ignore_throttled?: boolean
/**
* If true, missing or closed indices are not included in the response.
* @server_default false
*/
ignore_unavailable?: boolean
/**
* If true, allow closed indices to be returned in the response otherwise if false, keep the legacy behaviour
* of throwing an exception if index pattern matches closed indices
* @server_default false
*/
allow_closed?: boolean
}
}