Skip to content

Commit

Permalink
[backport 7.x] Add visibility to the rest-spec-api (#66250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz authored Dec 15, 2020
1 parent 00e58be commit e97080d
Show file tree
Hide file tree
Showing 370 changed files with 469 additions and 29 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"scripts_painless_context": {
"stability": "experimental",
"visibility": "public",
"documentation": {
"url": "https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html",
"description": "Returns the painless contexts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Example"
},
"stability" : "stable",
"visibility" : "public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Allows to perform multiple index/update/delete operations in a single request."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/x-ndjson"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Shows information about currently configured aliases to indices including filter and routing infos."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Provides quick access to the document count of the entire cluster, or individual indices."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Shows how much heap memory is currently being used by fielddata on every data node in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns a concise representation of the cluster health."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns help for the Cat APIs."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain" ]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about the master node."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about custom node attributes."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns basic statistics about performance of cluster nodes."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns a concise representation of the cluster pending tasks."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about installed plugins across nodes node."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about index shard recoveries, both on-going completed."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about snapshot repositories registered in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Provides low-level information about the segments in the shards of an index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Provides a detailed view of shard allocation on nodes."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns all snapshots in a specific repository."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about the tasks currently executing on one or more nodes in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about existing templates."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "text/plain", "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Explicitly clears the search context for a scroll."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json","text/plain"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Provides explanations for shard allocations in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Deletes a component template"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Clears cluster voting config exclusions."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about whether a particular component template exist"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns one or more component templates"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns cluster settings."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns basic information about the health of the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Updates the cluster voting config exclusions by node ids or node names."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Creates or updates a component template"
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Updates the cluster settings."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns the information about configured remote clusters."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Allows to manually change the allocation of individual shards in the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns a comprehensive information about the state of the cluster."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns high-level overview of cluster statistics."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns number of documents matching a query."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Creates a new document in the index.\n\nReturns a 409 response when a document with a same ID already exists in the index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Deletes the specified dangling index"
},
"stability": "stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Imports the specified dangling index"
},
"stability": "stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Returns all dangling indices."
},
"stability": "stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Removes a document from the index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Deletes documents matching the provided query."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"],
"content_type": ["application/json"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Changes the number of requests per second for a particular Delete By Query operation."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Deletes a script."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about whether a document exists in an index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description":"Returns information about whether a document source exists in an index."
},
"stability":"stable",
"visibility":"public",
"headers":{
"accept": [ "application/json"]
},
Expand Down
Loading

0 comments on commit e97080d

Please sign in to comment.