Skip to content

Commit 52902d5

Browse files
Update rest-api-spec (#4043)
Co-authored-by: pquentin <[email protected]>
1 parent 3b13edc commit 52902d5

7 files changed

+77
-7
lines changed

output/openapi/elasticsearch-openapi.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

+29
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@
104104
],
105105
"response": []
106106
},
107-
"indices.put_template": {
107+
"inference.put_mistral": {
108108
"request": [
109-
"Request: query parameter 'cause' does not exist in the json spec"
109+
"Missing request & response"
110110
],
111111
"response": []
112112
},

specification/_json_spec/indices.put_template.json

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
"description": "Whether the index template should only be added if new or can also replace an existing one",
3535
"default": false
3636
},
37+
"cause": {
38+
"type": "string",
39+
"description": "User defined reason for creating/updating the index template",
40+
"default": ""
41+
},
3742
"master_timeout": {
3843
"type": "time",
3944
"description": "Specify timeout for connection to master"

specification/_json_spec/inference.put.eis.json renamed to specification/_json_spec/inference.put_eis.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"inference.put_eis": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-eis.html",
5-
"description": "Configure an EIS inference endpoint"
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-elastic.html",
5+
"description": "Configure an inference endpoint that uses the Elastic Inference Service (EIS)"
66
},
77
"stability": "stable",
88
"visibility": "public",
@@ -29,7 +29,7 @@
2929
]
3030
},
3131
"body": {
32-
"description": "The inference endpoint's service settings"
32+
"description": "The inference endpoint's task and service settings"
3333
}
3434
}
3535
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"inference.put_mistral": {
3+
"documentation": {
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-service-mistral.html",
5+
"description": "Configure a Mistral inference endpoint"
6+
},
7+
"stability": "stable",
8+
"visibility": "public",
9+
"headers": {
10+
"accept": ["application/json"],
11+
"content_type": ["application/json"]
12+
},
13+
"url": {
14+
"paths": [
15+
{
16+
"path": "/_inference/{task_type}/{mistral_inference_id}",
17+
"methods": ["PUT"],
18+
"parts": {
19+
"task_type": {
20+
"type": "string",
21+
"description": "The task type"
22+
},
23+
"mistral_inference_id": {
24+
"type": "string",
25+
"description": "The inference Id"
26+
}
27+
}
28+
}
29+
]
30+
},
31+
"body": {
32+
"description": "The inference endpoint's task and service settings"
33+
}
34+
}
35+
}

specification/_json_spec/inference.put.voyageai.json renamed to specification/_json_spec/inference.put_voyageai.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"inference.put_voyageai": {
33
"documentation": {
4-
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/infer-apis.html",
5-
"description": "Configure an VoyageAI inference endpoint"
4+
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html",
5+
"description": "Configure a VoyageAI inference endpoint"
66
},
77
"stability": "stable",
88
"visibility": "public",

0 commit comments

Comments
 (0)