Skip to content

Commit a99ebbd

Browse files
github-actions[bot]pquentinl-trotta
authored
Update rest-api-spec main (#4229)
* Update rest-api-spec * revert mistral and voyage --------- Co-authored-by: pquentin <42327+pquentin@users.noreply.github.com> Co-authored-by: Laura Trotta <laura.trotta@elastic.co>
1 parent 6fb3b42 commit a99ebbd

8 files changed

+233
-39
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+
}

specification/_json_spec/indices.get_settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"description": "Return settings in flat format (default: false)"
7676
},
7777
"local": {
78+
"deprecated": true,
7879
"type": "boolean",
7980
"description": "Return local information, do not retrieve the state from master node (default: false)"
8081
},
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+
}
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"inference.post_eis_chat_completion": {
2+
"inference.put_voyageai": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html",
5-
"description": "Perform a chat completion task via the Elastic Inference Service (EIS)"
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-apis.html",
5+
"description": "Configure an VoyageAI inference endpoint"
66
},
77
"stability": "stable",
88
"visibility": "public",
@@ -13,10 +13,14 @@
1313
"url": {
1414
"paths": [
1515
{
16-
"path": "/_inference/chat_completion/{eis_inference_id}/_stream",
17-
"methods": ["POST"],
16+
"path": "/_inference/{task_type}/{voyageai_inference_id}",
17+
"methods": ["PUT"],
1818
"parts": {
19-
"eis_inference_id": {
19+
"task_type": {
20+
"type": "string",
21+
"description": "The task type"
22+
},
23+
"voyageai_inference_id": {
2024
"type": "string",
2125
"description": "The inference ID"
2226
}
@@ -25,7 +29,7 @@
2529
]
2630
},
2731
"body": {
28-
"description": "The inference tasks settings to perform"
32+
"description": "The inference endpoint's task and service settings"
2933
}
3034
}
3135
}

0 commit comments

Comments
 (0)