Skip to content
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

[Console] Update autocomplete definitions for 8.16 #196284

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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"patterns": [
"_capabilities"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/capabilities.html",
"documentation": "https://github.com/elastic/elasticsearch/blob/main/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/README.asciidoc#require-or-skip-api-capabilities",
"availability": {
"stack": false,
"serverless": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"flat_settings": "__flag__",
"include_remotes": "__flag__",
"timeout": [
"-1",
"0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/update-connector-last-sync-api.html",
"availability": {
"stack": true,
"serverless": true
"stack": false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it mean when both stack and serverless is false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It usually means that the endpoint is experimental, but since this specific endpoint has been available before and is not anymore I suppose it is being removed. I will check with @elastic/devtools-team.

Copy link
Contributor Author

@ElenaStoeva ElenaStoeva Oct 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that the visibility property of serverless' and stack's availability for this endpoint has been changed from public to private in elastic/elasticsearch-specification#2675 and elastic/elasticsearch-specification@4f9e620 (see changes in output/schema/schema.json), which is the reason for these changes from our side.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This API has a bug, which is why we have excluded it from clients. I'm not sure if Kibana should have it or not.

"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html",
"availability": {
"stack": true,
"serverless": true
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"smile",
"arrow"
],
"delimiter": ""
"delimiter": "",
"drop_null_columns": "__flag__"
},
"methods": [
"POST"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"PUT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html",
"availability": {
"stack": true,
"serverless": true
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams-delete-lifecycle.html",
"availability": {
"stack": true,
"serverless": true
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"expand_wildcards": [
"all",
"open",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
"hidden",
"none"
],
"include_defaults": "__flag__"
"include_defaults": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"GET"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
"hidden",
"none"
],
"include_defaults": "__flag__"
"include_defaults": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"verbose": "__flag__"
},
"methods": [
"GET"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
],
"timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"POST"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__"
"pretty": "__flag__",
"master_timeout": [
"30s",
"-1",
"0"
]
},
"methods": [
"POST"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates-v1.html",
"availability": {
"stack": true,
"serverless": true
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"inference.stream_inference": {
"methods": [
"POST"
],
"patterns": [
"_inference/{inference_id}/_stream",
"_inference/{task_type}/{inference_id}/_stream"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/post-stream-inference-api.html",
"availability": {
"stack": true,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-delete-role.html",
"availability": {
"stack": true,
"serverless": false
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-builtin-privileges.html",
"availability": {
"stack": true,
"serverless": false
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html",
"availability": {
"stack": true,
"serverless": false
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html",
"availability": {
"stack": true,
"serverless": false
"serverless": true
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"snapshot.repository_verify_integrity": {
"url_params": {
"error_trace": "__flag__",
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"meta_thread_pool_concurrency": "",
"blob_thread_pool_concurrency": "",
"snapshot_verification_concurrency": "",
"index_verification_concurrency": "",
"index_snapshot_verification_concurrency": "",
"max_failed_shard_snapshots": "",
"verify_blob_contents": "__flag__",
"max_bytes_per_sec": ""
},
"methods": [
"POST"
],
"patterns": [
"_snapshot/{repository}/_verify_integrity"
],
"documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html",
"availability": {
"stack": false,
"serverless": false
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"format": ""
"format": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile"
]
},
"methods": [
"POST",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"filter_path": [],
"human": "__flag__",
"pretty": "__flag__",
"categories": "",
"categories": [
"build",
"features",
"license"
],
"accept_enterprise": "__flag__"
},
"methods": [
Expand Down