Skip to content

Commit 6db9c28

Browse files
pquentingithub-actions[bot]
authored andcommitted
Update rest-api-spec
1 parent 390b1a4 commit 6db9c28

File tree

266 files changed

+693
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+693
-102
lines changed

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
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: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"endpointErrors": {
3-
"streams.status": {
3+
"cat.segments": {
44
"request": [
5-
"Request: query parameter 'master_timeout' does not exist in the json spec"
5+
"Request: missing json spec query parameter 'ignore_unavailable'",
6+
"Request: missing json spec query parameter 'ignore_throttled'",
7+
"Request: missing json spec query parameter 'allow_no_indices'",
8+
"Request: missing json spec query parameter 'expand_wildcards'",
9+
"Request: missing json spec query parameter 'allow_closed'"
610
],
711
"response": []
812
}

specification/_json_spec/async_search.status.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"params": {
2727
"keep_alive": {
2828
"type": "time",
29+
"default": "5d",
2930
"description": "Specify the time interval in which the results (partial or final) for this search will be available"
3031
}
3132
}

specification/_json_spec/async_search.submit.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
},
5252
"request_cache": {
5353
"type": "boolean",
54+
"default": true,
5455
"description": "Specify if request cache should be used for this request or not, defaults to true"
5556
},
5657
"analyzer": {
@@ -218,7 +219,8 @@
218219
}
219220
},
220221
"body": {
221-
"description": "The search definition using the Query DSL"
222+
"description": "The search definition using the Query DSL",
223+
"required": false
222224
}
223225
}
224226
}

specification/_json_spec/autoscaling.delete_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
},
3232
"timeout": {
3333
"type": "time",
34+
"default": "30s",
3435
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3536
}
3637
}

specification/_json_spec/autoscaling.put_autoscaling_policy.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"timeout": {
3434
"type": "time",
35+
"default": "30s",
3536
"description": "Timeout for acknowledgement of update from all nodes in cluster"
3637
}
3738
},

specification/_json_spec/bulk.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
"params": {
3232
"wait_for_active_shards": {
3333
"type": "string",
34+
"default": "1",
3435
"description": "Sets the number of shard copies that must be active before proceeding with the bulk operation. Defaults to 1, meaning the primary shard only. Set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)"
3536
},
3637
"refresh": {
3738
"type": "enum",
3839
"options": ["true", "false", "wait_for"],
40+
"default": "false",
3941
"description": "If `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes."
4042
},
4143
"routing": {
@@ -44,6 +46,7 @@
4446
},
4547
"timeout": {
4648
"type": "time",
49+
"default": "1m",
4750
"description": "Explicit operation timeout"
4851
},
4952
"_source": {
@@ -64,18 +67,22 @@
6467
},
6568
"require_alias": {
6669
"type": "boolean",
67-
"description": "Sets require_alias for all incoming documents. Defaults to unset (false)"
70+
"default": false,
71+
"description": "If true, the request's actions must target an index alias. Defaults to false."
6872
},
6973
"require_data_stream": {
7074
"type": "boolean",
71-
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
75+
"default": false,
76+
"description": "If true, the request's actions must target a data stream (existing or to-be-created). Default to false"
7277
},
7378
"list_executed_pipelines": {
7479
"type": "boolean",
80+
"default": false,
7581
"description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)"
7682
},
7783
"include_source_on_error": {
7884
"type": "boolean",
85+
"default": true,
7986
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
8087
}
8188
},

specification/_json_spec/cat.allocation.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
},
4646
"local": {
4747
"type": "boolean",
48+
"default": false,
4849
"description": "Return local information, do not retrieve the state from master node (default: false)"
4950
},
5051
"master_timeout": {

specification/_json_spec/cat.component_templates.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
},
3636
"local": {
3737
"type": "boolean",
38+
"default": false,
3839
"description": "Return local information, do not retrieve the state from master node (default: false)"
3940
},
4041
"master_timeout": {

specification/_json_spec/cat.master.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
},
2626
"local": {
2727
"type": "boolean",
28+
"default": false,
2829
"description": "Return local information, do not retrieve the state from master node (default: false)"
2930
},
3031
"master_timeout": {

0 commit comments

Comments
 (0)