Skip to content

Update rest-api-spec 8.18 #5032

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2025
Merged
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
28 changes: 28 additions & 0 deletions output/schema/schema.json

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

6 changes: 0 additions & 6 deletions output/schema/validation-errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
],
"response": []
},
"esql.async_query_get": {
"request": [
"Request: query parameter 'format' does not exist in the json spec"
],
"response": []
},
"ml.stop_datafeed": {
"request": [
"Request: missing json spec query parameter 'allow_no_datafeeds'"
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/esql.async_query_get.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
]
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"wait_for_completion_timeout": {
"type": "time",
"description": "Specify the time that the request should block waiting for the final response"
Expand Down
35 changes: 35 additions & 0 deletions specification/_json_spec/inference.put_custom.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"inference.put_custom": {
"documentation": {
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-custom",
"description": "Configure a custom inference endpoint"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_inference/{task_type}/{custom_inference_id}",
"methods": ["PUT"],
"parts": {
"task_type": {
"type": "string",
"description": "The task type"
},
"custom_inference_id": {
"type": "string",
"description": "The inference Id"
}
}
}
]
},
"body": {
"description": "The inference endpoint's task and service settings"
}
}
}