Skip to content
Open
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
110 changes: 108 additions & 2 deletions output/schema/schema.json

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

76 changes: 76 additions & 0 deletions specification/_json_spec/cat.circuit_breaker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{
"cat.circuit_breaker": {
"documentation": {
"url": "https://www.elastic.co/docs/api/doc/elasticsearch#TODO",
"description": "Get circuit breakers statistics"
},
"stability": "stable",
"visibility": "public",
"headers": {
"accept": ["text/plain", "application/json"]
},
"url": {
"paths": [
{
"path": "/_cat/circuit_breaker",
"methods": ["GET"]
},
{
"path": "/_cat/circuit_breaker/{circuit_breaker_patterns}",
"methods": ["GET"],
"parts": {
"circuit_breaker_patterns": {
"type": "list",
"description": "A comma-separated list of regular-expressions to filter the circuit breakers in the output"
}
}
}
]
},
"params": {
"format": {
"type": "string",
"default": "text",
"description": "a short version of the Accept header, e.g. json, yaml"
},
"time": {
"type": "enum",
"description": "The unit in which to display time values",
"options": ["d", "h", "m", "s", "ms", "micros", "nanos"]
},
"local": {
"type": "boolean",
"default": false,
"description": "Return local information, do not retrieve the state from master node (default: false)"
},
"master_timeout": {
"type": "time",
"default": "30s",
"description": "Explicit operation timeout for connection to master node"
},
"h": {
"type": "list",
"description": "Comma-separated list of column names to display"
},
"help": {
"type": "boolean",
"description": "Return help information",
"default": false
},
"s": {
"type": "list",
"description": "Comma-separated list of column names or column aliases to sort by"
},
"v": {
"type": "boolean",
"description": "Verbose mode. Display column headers",
"default": false
},
"bytes": {
"type": "enum",
"description": "The unit in which to display byte values",
"options": ["b", "kb", "mb", "gb", "tb", "pb"]
}
}
}
}
1 change: 0 additions & 1 deletion specification/_json_spec/clear_scroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
}
]
},
"params": {},
"body": {
"description": "A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter",
"required": false
Expand Down
1 change: 0 additions & 1 deletion specification/_json_spec/close_point_in_time.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
}
]
},
"params": {},
"body": {
"description": "a point-in-time id to close",
"required": true
Expand Down
3 changes: 1 addition & 2 deletions specification/_json_spec/cluster.info.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
}
}
]
},
"params": {}
}
}
}
3 changes: 1 addition & 2 deletions specification/_json_spec/cluster.remote_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"methods": ["GET"]
}
]
},
"params": {}
}
}
}
3 changes: 1 addition & 2 deletions specification/_json_spec/connector.secret_delete.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
}
}
]
},
"params": {}
}
}
}
3 changes: 1 addition & 2 deletions specification/_json_spec/connector.secret_get.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
}
}
]
},
"params": {}
}
}
}
1 change: 0 additions & 1 deletion specification/_json_spec/connector.secret_post.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
}
]
},
"params": {},
"body": {
"description": "The secret value to store",
"required": true
Expand Down
1 change: 0 additions & 1 deletion specification/_json_spec/connector.secret_put.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
}
]
},
"params": {},
"body": {
"description": "The secret value to store",
"required": true
Expand Down
13 changes: 11 additions & 2 deletions specification/_json_spec/connector.sync_job_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,17 @@
"description": "specifies a max number of results to get (default: 100)"
},
"status": {
"type": "string",
"description": "Sync job status, which sync jobs are fetched for"
"type": "enum",
"description": "A sync job status to fetch connector sync jobs for",
"options": [
"canceling",
"canceled",
"completed",
"error",
"in_progress",
"pending",
"suspended"
]
},
"connector_id": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"methods": ["GET"]
}
]
},
"params": {}
}
}
}
14 changes: 12 additions & 2 deletions specification/_json_spec/esql.async_query.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,18 @@
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
"type": "enum",
"description": "A short version of the Accept header, e.g. json, yaml.\n\n`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.\n\nFor async requests, nothing will be returned if the async query doesn't finish within the timeout.\nThe query ID and running status are available in the `X-Elasticsearch-Async-Id` and `X-Elasticsearch-Async-Is-Running` HTTP headers of the response, respectively.",
"options": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
]
},
"delimiter": {
"type": "string",
Expand Down
14 changes: 12 additions & 2 deletions specification/_json_spec/esql.async_query_get.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,18 @@
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
"type": "enum",
"description": "A short version of the Accept header, for example `json` or `yaml`.",
"options": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
]
},
"wait_for_completion_timeout": {
"type": "time",
Expand Down
14 changes: 12 additions & 2 deletions specification/_json_spec/esql.query.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,18 @@
},
"params": {
"format": {
"type": "string",
"description": "a short version of the Accept header, e.g. json, yaml"
"type": "enum",
"description": "A short version of the Accept header, e.g. json, yaml.\n\n`csv`, `tsv`, and `txt` formats will return results in a tabular format, excluding other metadata fields from the response.",
"options": [
"csv",
"json",
"tsv",
"txt",
"yaml",
"cbor",
"smile",
"arrow"
]
},
"delimiter": {
"type": "string",
Expand Down
3 changes: 1 addition & 2 deletions specification/_json_spec/fleet.delete_secret.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
}
}
]
},
"params": {}
}
}
}
3 changes: 1 addition & 2 deletions specification/_json_spec/fleet.get_secret.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
}
}
]
},
"params": {}
}
}
}
Loading