@@ -66,7 +66,7 @@ public function aliases(array $params = [])
66
66
}
67
67
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'h ' ,'help ' ,'s ' ,'v ' ,'expand_wildcards ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
68
68
$ headers = [
69
- 'Accept ' => 'application/json ' ,
69
+ 'Accept ' => 'text/plain, application/json ' ,
70
70
];
71
71
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
72
72
}
@@ -111,7 +111,7 @@ public function allocation(array $params = [])
111
111
}
112
112
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'bytes ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
113
113
$ headers = [
114
- 'Accept ' => 'application/json ' ,
114
+ 'Accept ' => 'text/plain, application/json ' ,
115
115
];
116
116
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
117
117
}
@@ -155,7 +155,7 @@ public function componentTemplates(array $params = [])
155
155
}
156
156
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
157
157
$ headers = [
158
- 'Accept ' => 'application/json ' ,
158
+ 'Accept ' => 'text/plain, application/json ' ,
159
159
];
160
160
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
161
161
}
@@ -197,7 +197,7 @@ public function count(array $params = [])
197
197
}
198
198
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
199
199
$ headers = [
200
- 'Accept ' => 'application/json ' ,
200
+ 'Accept ' => 'text/plain, application/json ' ,
201
201
];
202
202
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
203
203
}
@@ -240,7 +240,7 @@ public function fielddata(array $params = [])
240
240
}
241
241
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'bytes ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
242
242
$ headers = [
243
- 'Accept ' => 'application/json ' ,
243
+ 'Accept ' => 'text/plain, application/json ' ,
244
244
];
245
245
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
246
246
}
@@ -279,7 +279,7 @@ public function health(array $params = [])
279
279
280
280
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'ts ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
281
281
$ headers = [
282
- 'Accept ' => 'application/json ' ,
282
+ 'Accept ' => 'text/plain, application/json ' ,
283
283
];
284
284
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
285
285
}
@@ -362,7 +362,7 @@ public function indices(array $params = [])
362
362
}
363
363
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'bytes ' ,'master_timeout ' ,'h ' ,'health ' ,'help ' ,'pri ' ,'s ' ,'time ' ,'v ' ,'include_unloaded_segments ' ,'expand_wildcards ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
364
364
$ headers = [
365
- 'Accept ' => 'application/json ' ,
365
+ 'Accept ' => 'text/plain, application/json ' ,
366
366
];
367
367
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
368
368
}
@@ -401,7 +401,7 @@ public function master(array $params = [])
401
401
402
402
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
403
403
$ headers = [
404
- 'Accept ' => 'application/json ' ,
404
+ 'Accept ' => 'text/plain, application/json ' ,
405
405
];
406
406
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
407
407
}
@@ -446,7 +446,7 @@ public function mlDataFrameAnalytics(array $params = [])
446
446
}
447
447
$ url = $ this ->addQueryString ($ url , $ params , ['allow_no_match ' ,'bytes ' ,'format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
448
448
$ headers = [
449
- 'Accept ' => 'application/json ' ,
449
+ 'Accept ' => 'text/plain, application/json ' ,
450
450
];
451
451
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
452
452
}
@@ -490,7 +490,7 @@ public function mlDatafeeds(array $params = [])
490
490
}
491
491
$ url = $ this ->addQueryString ($ url , $ params , ['allow_no_match ' ,'format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
492
492
$ headers = [
493
- 'Accept ' => 'application/json ' ,
493
+ 'Accept ' => 'text/plain, application/json ' ,
494
494
];
495
495
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
496
496
}
@@ -535,7 +535,7 @@ public function mlJobs(array $params = [])
535
535
}
536
536
$ url = $ this ->addQueryString ($ url , $ params , ['allow_no_match ' ,'bytes ' ,'format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
537
537
$ headers = [
538
- 'Accept ' => 'application/json ' ,
538
+ 'Accept ' => 'text/plain, application/json ' ,
539
539
];
540
540
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
541
541
}
@@ -582,7 +582,7 @@ public function mlTrainedModels(array $params = [])
582
582
}
583
583
$ url = $ this ->addQueryString ($ url , $ params , ['allow_no_match ' ,'from ' ,'size ' ,'bytes ' ,'format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
584
584
$ headers = [
585
- 'Accept ' => 'application/json ' ,
585
+ 'Accept ' => 'text/plain, application/json ' ,
586
586
];
587
587
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
588
588
}
@@ -621,7 +621,7 @@ public function nodeattrs(array $params = [])
621
621
622
622
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
623
623
$ headers = [
624
- 'Accept ' => 'application/json ' ,
624
+ 'Accept ' => 'text/plain, application/json ' ,
625
625
];
626
626
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
627
627
}
@@ -663,7 +663,7 @@ public function nodes(array $params = [])
663
663
664
664
$ url = $ this ->addQueryString ($ url , $ params , ['bytes ' ,'format ' ,'full_id ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'include_unloaded_segments ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
665
665
$ headers = [
666
- 'Accept ' => 'application/json ' ,
666
+ 'Accept ' => 'text/plain, application/json ' ,
667
667
];
668
668
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
669
669
}
@@ -703,7 +703,7 @@ public function pendingTasks(array $params = [])
703
703
704
704
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
705
705
$ headers = [
706
- 'Accept ' => 'application/json ' ,
706
+ 'Accept ' => 'text/plain, application/json ' ,
707
707
];
708
708
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
709
709
}
@@ -743,7 +743,7 @@ public function plugins(array $params = [])
743
743
744
744
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'include_bootstrap ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
745
745
$ headers = [
746
- 'Accept ' => 'application/json ' ,
746
+ 'Accept ' => 'text/plain, application/json ' ,
747
747
];
748
748
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
749
749
}
@@ -789,7 +789,7 @@ public function recovery(array $params = [])
789
789
}
790
790
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'active_only ' ,'bytes ' ,'detailed ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
791
791
$ headers = [
792
- 'Accept ' => 'application/json ' ,
792
+ 'Accept ' => 'text/plain, application/json ' ,
793
793
];
794
794
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
795
795
}
@@ -828,7 +828,7 @@ public function repositories(array $params = [])
828
828
829
829
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
830
830
$ headers = [
831
- 'Accept ' => 'application/json ' ,
831
+ 'Accept ' => 'text/plain, application/json ' ,
832
832
];
833
833
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
834
834
}
@@ -871,7 +871,7 @@ public function segments(array $params = [])
871
871
}
872
872
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'bytes ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
873
873
$ headers = [
874
- 'Accept ' => 'application/json ' ,
874
+ 'Accept ' => 'text/plain, application/json ' ,
875
875
];
876
876
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
877
877
}
@@ -916,7 +916,7 @@ public function shards(array $params = [])
916
916
}
917
917
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'bytes ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
918
918
$ headers = [
919
- 'Accept ' => 'application/json ' ,
919
+ 'Accept ' => 'text/plain, application/json ' ,
920
920
];
921
921
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
922
922
}
@@ -961,7 +961,7 @@ public function snapshots(array $params = [])
961
961
}
962
962
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'ignore_unavailable ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
963
963
$ headers = [
964
- 'Accept ' => 'application/json ' ,
964
+ 'Accept ' => 'text/plain, application/json ' ,
965
965
];
966
966
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
967
967
}
@@ -1004,7 +1004,7 @@ public function tasks(array $params = [])
1004
1004
1005
1005
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'nodes ' ,'actions ' ,'detailed ' ,'parent_task_id ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
1006
1006
$ headers = [
1007
- 'Accept ' => 'application/json ' ,
1007
+ 'Accept ' => 'text/plain, application/json ' ,
1008
1008
];
1009
1009
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
1010
1010
}
@@ -1048,7 +1048,7 @@ public function templates(array $params = [])
1048
1048
}
1049
1049
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
1050
1050
$ headers = [
1051
- 'Accept ' => 'application/json ' ,
1051
+ 'Accept ' => 'text/plain, application/json ' ,
1052
1052
];
1053
1053
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
1054
1054
}
@@ -1094,7 +1094,7 @@ public function threadPool(array $params = [])
1094
1094
}
1095
1095
$ url = $ this ->addQueryString ($ url , $ params , ['format ' ,'time ' ,'local ' ,'master_timeout ' ,'h ' ,'help ' ,'s ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
1096
1096
$ headers = [
1097
- 'Accept ' => 'application/json ' ,
1097
+ 'Accept ' => 'text/plain, application/json ' ,
1098
1098
];
1099
1099
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
1100
1100
}
@@ -1140,7 +1140,7 @@ public function transforms(array $params = [])
1140
1140
}
1141
1141
$ url = $ this ->addQueryString ($ url , $ params , ['from ' ,'size ' ,'allow_no_match ' ,'format ' ,'h ' ,'help ' ,'s ' ,'time ' ,'v ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
1142
1142
$ headers = [
1143
- 'Accept ' => 'application/json ' ,
1143
+ 'Accept ' => 'text/plain, application/json ' ,
1144
1144
];
1145
1145
return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
1146
1146
}
0 commit comments