Skip to content

Commit 3bdcc84

Browse files
github-actions[bot]pquentinl-trotta
authored
Update rest-api-spec 8.x (#4228)
* Update rest-api-spec * revert mistral and voyage --------- Co-authored-by: pquentin <[email protected]> Co-authored-by: Laura Trotta <[email protected]>
1 parent be1ae18 commit 3bdcc84

File tree

8 files changed

+221
-98
lines changed

8 files changed

+221
-98
lines changed

output/schema/schema.json

Lines changed: 81 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_json_spec/esql.async_query.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
},
3636
"allow_partial_results": {
3737
"type": "boolean",
38-
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.",
39-
"default": false
38+
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.",
39+
"default": true
4040
}
4141
},
4242
"body": {

specification/_json_spec/esql.query.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
},
3636
"allow_partial_results": {
3737
"type": "boolean",
38-
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.",
39-
"default": false
38+
"description": "If `true`, partial results will be returned if there are shard failures, but\nthe query can continue to execute on other clusters and shards.\nIf `false`, the entire query will fail if there are\nany failures.",
39+
"default": true
4040
}
4141
},
4242
"body": {
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"indices.delete_data_stream_options": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html",
5+
"description": "Deletes the data stream options of the selected data streams."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.failure_store_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_data_stream/{name}/_options",
17+
"methods": ["DELETE"],
18+
"parts": {
19+
"name": {
20+
"type": "list",
21+
"description": "A comma-separated list of data streams of which the data stream options will be deleted; use `*` to get all data streams"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params": {
28+
"expand_wildcards": {
29+
"type": "enum",
30+
"options": ["open", "closed", "hidden", "none", "all"],
31+
"default": "open",
32+
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
33+
},
34+
"timeout": {
35+
"type": "time",
36+
"description": "Explicit timestamp for the document"
37+
},
38+
"master_timeout": {
39+
"type": "time",
40+
"description": "Specify timeout for connection to master"
41+
}
42+
}
43+
}
44+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"indices.get_data_stream_options": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html",
5+
"description": "Returns the data stream options of the selected data streams."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.failure_store_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_data_stream/{name}/_options",
17+
"methods": ["GET"],
18+
"parts": {
19+
"name": {
20+
"type": "list",
21+
"description": "A comma-separated list of data streams to get; use `*` to get all data streams"
22+
}
23+
}
24+
}
25+
]
26+
},
27+
"params": {
28+
"expand_wildcards": {
29+
"type": "enum",
30+
"options": ["open", "closed", "hidden", "none", "all"],
31+
"default": "open",
32+
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
33+
},
34+
"include_defaults": {
35+
"type": "boolean",
36+
"description": "Return all relevant default configurations for the data stream (default: false)"
37+
},
38+
"master_timeout": {
39+
"type": "time",
40+
"description": "Specify timeout for connection to master"
41+
}
42+
}
43+
}
44+
}
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"indices.put_data_stream_options": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html",
5+
"description": "Updates the data stream options of the selected data streams."
6+
},
7+
"stability": "experimental",
8+
"visibility": "feature_flag",
9+
"feature_flag": "es.failure_store_feature_flag_enabled",
10+
"headers": {
11+
"accept": ["application/json"],
12+
"content_type": ["application/json"]
13+
},
14+
"url": {
15+
"paths": [
16+
{
17+
"path": "/_data_stream/{name}/_options",
18+
"methods": ["PUT"],
19+
"parts": {
20+
"name": {
21+
"type": "list",
22+
"description": "A comma-separated list of data streams whose options will be updated; use `*` to set the options to all data streams"
23+
}
24+
}
25+
}
26+
]
27+
},
28+
"params": {
29+
"expand_wildcards": {
30+
"type": "enum",
31+
"options": ["open", "closed", "hidden", "none", "all"],
32+
"default": "open",
33+
"description": "Whether wildcard expressions should get expanded to open or closed indices (default: open)"
34+
},
35+
"timeout": {
36+
"type": "time",
37+
"description": "Explicit timestamp for the document"
38+
},
39+
"master_timeout": {
40+
"type": "time",
41+
"description": "Specify timeout for connection to master"
42+
}
43+
},
44+
"body": {
45+
"description": "The data stream options configuration that consist of the failure store configuration"
46+
}
47+
}
48+
}

specification/_json_spec/inference.post_eis_chat_completion.json

Lines changed: 0 additions & 31 deletions
This file was deleted.

specification/_json_spec/inference.put.eis.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)