Correct API endpoints for CAT API reference (#2158)
Signed-off-by: ariamarble <armarble@amazon.com> Signed-off-by: ariamarble <armarble@amazon.com>
This commit is contained in:
parent
e05def9246
commit
2f814facb3
|
@ -28,7 +28,7 @@ GET _cat/allocation/<node_name>
|
||||||
If you want to get information for more than one node, separate the node names with commas:
|
If you want to get information for more than one node, separate the node names with commas:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
GET _cat/aliases/node_name_1,node_name_2,node_name_3
|
GET _cat/allocation/node_name_1,node_name_2,node_name_3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -28,7 +28,7 @@ GET _cat/count/<index_or_alias>?v
|
||||||
If you want to get information for more than one index or alias, separate the index or alias names with commas:
|
If you want to get information for more than one index or alias, separate the index or alias names with commas:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
GET _cat/aliases/index_or_alias_1,index_or_alias_2,index_or_alias_3
|
GET _cat/count/index_or_alias_1,index_or_alias_2,index_or_alias_3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -28,7 +28,7 @@ GET _cat/fielddata/<field_name>?v
|
||||||
If you want to get information for more than one field, separate the field names with commas:
|
If you want to get information for more than one field, separate the field names with commas:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
GET _cat/aliases/field_name_1,field_name_2,field_name_3
|
GET _cat/fielddata/field_name_1,field_name_2,field_name_3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -28,7 +28,7 @@ GET _cat/indices/<index>?v
|
||||||
If you want to get information for more than one index, separate the indices with commas:
|
If you want to get information for more than one index, separate the indices with commas:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
GET _cat/aliases/index1,index2,index3
|
GET _cat/indices/index1,index2,index3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -28,7 +28,7 @@ GET _cat/recovery/<index>?v
|
||||||
If you want to get information for more than one index, separate the indices with commas:
|
If you want to get information for more than one index, separate the indices with commas:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
GET _cat/aliases/index1,index2,index3
|
GET _cat/recovery/index1,index2,index3
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -22,7 +22,7 @@ GET _cat/templates?v
|
||||||
If you want to get information for a specific template or pattern:
|
If you want to get information for a specific template or pattern:
|
||||||
|
|
||||||
```
|
```
|
||||||
GET _cat/templates/{name}
|
GET _cat/templates/<template_name_or_pattern>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
|
@ -21,7 +21,13 @@ GET _cat/thread_pool?v
|
||||||
If you want to get information for more than one thread pool, separate the thread pool names with commas:
|
If you want to get information for more than one thread pool, separate the thread pool names with commas:
|
||||||
|
|
||||||
```
|
```
|
||||||
GET _cat/v/thread_pool_name_1,thread_pool_name_2,thread_pool_name_3
|
GET _cat/thread_pool/thread_pool_name_1,thread_pool_name_2,thread_pool_name_3
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to limit the information to a specific thread pool, add the thread pool name after your query:
|
||||||
|
|
||||||
|
```
|
||||||
|
GET _cat/thread_pool/<thread_pool_name>?v
|
||||||
```
|
```
|
||||||
|
|
||||||
## Path and HTTP methods
|
## Path and HTTP methods
|
||||||
|
|
Loading…
Reference in New Issue