Skip to content

Update rest-api-spec main #4633

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
Jun 25, 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
105 changes: 105 additions & 0 deletions output/schema/schema.json

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

55 changes: 55 additions & 0 deletions specification/_json_spec/indices.remove_block.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"indices.remove_block": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html",
"description": "Removes a block from an index."
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/{index}/_block/{block}",
"methods": ["DELETE"],
"parts": {
"index": {
"type": "list",
"description": "A comma separated list of indices to remove a block from"
},
"block": {
"type": "string",
"description": "The block to remove (one of read, write, read_only or metadata)"
}
}
}
]
},
"params": {
"timeout": {
"type": "time",
"description": "Explicit operation timeout"
},
"master_timeout": {
"type": "time",
"description": "Specify timeout for connection to master"
},
"ignore_unavailable": {
"type": "boolean",
"description": "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
},
"allow_no_indices": {
"type": "boolean",
"description": "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
},
"expand_wildcards": {
"type": "enum",
"options": ["open", "closed", "hidden", "none", "all"],
"default": "open",
"description": "Whether to expand wildcard expression to concrete indices that are open, closed or both."
}
}
}
}
32 changes: 32 additions & 0 deletions specification/_json_spec/streams.logs_disable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"streams.logs_disable": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-disable.html",
"description": "Disable the Logs Streams feature for this cluster"
},
"stability": "stable",
"visibility": "feature_flag",
"feature_flag": "logs_stream",
"headers": {
"accept": ["application/json", "text/plain"]
},
"url": {
"paths": [
{
"path": "/_streams/logs/_disable",
"methods": ["POST"]
}
]
},
"params": {
"timeout": {
"type": "time",
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
},
"master_timeout": {
"type": "time",
"description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error."
}
}
}
}
32 changes: 32 additions & 0 deletions specification/_json_spec/streams.logs_enable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"streams.logs_enable": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-logs-enable.html",
"description": "Enable the Logs Streams feature for this cluster"
},
"stability": "stable",
"visibility": "feature_flag",
"feature_flag": "logs_stream",
"headers": {
"accept": ["application/json", "text/plain"]
},
"url": {
"paths": [
{
"path": "/_streams/logs/_enable",
"methods": ["POST"]
}
]
},
"params": {
"timeout": {
"type": "time",
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
},
"master_timeout": {
"type": "time",
"description": "Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error."
}
}
}
}
28 changes: 28 additions & 0 deletions specification/_json_spec/streams.status.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"streams.status": {
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/streams-status.html",
"description": "Return the current status of the streams feature for each streams type"
},
"stability": "stable",
"visibility": "feature_flag",
"feature_flag": "logs_stream",
"headers": {
"accept": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_streams/status",
"methods": ["GET"]
}
]
},
"params": {
"mater_timeout": {
"type": "time",
"description": "Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error."
}
}
}
}