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:
Aria Marble 2022-12-13 10:52:53 -07:00 committed by GitHub
parent e05def9246
commit 2f814facb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 7 deletions

View File

@ -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:
```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

View File

@ -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:
```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

View File

@ -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:
```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

View File

@ -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:
```json
GET _cat/aliases/index1,index2,index3
GET _cat/indices/index1,index2,index3
```
## Path and HTTP methods

View File

@ -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:
```json
GET _cat/aliases/index1,index2,index3
GET _cat/recovery/index1,index2,index3
```
## Path and HTTP methods

View File

@ -22,7 +22,7 @@ GET _cat/templates?v
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

View File

@ -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:
```
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