You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/OpenSearch/Namespaces/ClusterNamespace.php
+1-1
Original file line number
Diff line number
Diff line change
@@ -551,7 +551,7 @@ public function reroute(array $params = [])
551
551
* $params['metric'] = (array) Limits the information returned to only the specified metrics.
552
552
* $params['index'] = (array)
553
553
* $params['allow_no_indices'] = (boolean) Whether to ignore a wildcard index expression that resolves into no concrete indexes. This includes the `_all` string or when no indexes have been specified.
554
-
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters]({https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
554
+
* $params['cluster_manager_timeout'] = (string) The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see [Common parameters](https://opensearch.org/docs/latest/api-reference/common-parameters/#time-units).
555
555
* $params['expand_wildcards'] = (any)
556
556
* $params['flat_settings'] = (boolean) Returns settings in a flat format. (Default = false)
557
557
* $params['ignore_unavailable'] = (boolean) Whether the specified concrete indexes should be ignored when unavailable (missing or closed).
* The OpenSearch Contributors require contributions made to
9
+
* this file be licensed under the Apache-2.0 license or a
10
+
* compatible open source license.
11
+
*
12
+
* Modifications Copyright OpenSearch Contributors. See
13
+
* GitHub history for details.
14
+
*/
15
+
16
+
namespaceOpenSearch\Namespaces;
17
+
18
+
useOpenSearch\Endpoints\Ltr\Stats;
19
+
20
+
/**
21
+
* Class LtrNamespace
22
+
*
23
+
* NOTE: This file is autogenerated using util/GenerateEndpoints.php
24
+
*/
25
+
class LtrNamespace extends AbstractNamespace
26
+
{
27
+
/**
28
+
* Provides information about the current status of the LTR plugin.
29
+
*
30
+
* $params['node_id'] = (array) Comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
31
+
* $params['stat'] = (array) Comma-separated list of stats to retrieve; use `_all` or empty string to retrieve all stats.
32
+
* $params['timeout'] = (string) The time in milliseconds to wait for a response.
33
+
* $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false)
34
+
* $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true)
35
+
* $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
36
+
* $params['source'] = (string) The URL-encoded request definition. Useful for libraries that do not accept a request body for non-POST requests.
37
+
* $params['filter_path'] = (any) Used to reduce the response. This parameter takes a comma-separated list of filters. It supports using wildcards to match any field or part of a field’s name. You can also exclude fields with "-".
38
+
*
39
+
* @param array $params Associative array of parameters
Copy file name to clipboardexpand all lines: src/OpenSearch/Namespaces/TasksNamespace.php
+15-15
Original file line number
Diff line number
Diff line change
@@ -35,11 +35,11 @@ class TasksNamespace extends AbstractNamespace
35
35
/**
36
36
* Cancels a task, if it can be cancelled through an API.
37
37
*
38
-
* $params['task_id'] = (string) ID of the task.
39
-
* $params['actions'] = (any) Comma-separated list or wildcard expression of actions used to limit the request.
40
-
* $params['nodes'] = (array) Comma-separated list of node IDs or names used to limit the request.
41
-
* $params['parent_task_id'] = (string) Parent task ID used to limit the tasks.
42
-
* $params['wait_for_completion'] = (boolean) Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false (Default = false)
38
+
* $params['task_id'] = (string) The ID of the task.
39
+
* $params['actions'] = (any) A comma-separated list of actions that should be returned. Keep empty to return all.
40
+
* $params['nodes'] = (array) A comma-separated list of node IDs or names to limit the returned information. Use `_local` to return information from the node you're connecting to, specify the node name to get information from specific nodes, or keep the parameter empty to get information from all nodes.
41
+
* $params['parent_task_id'] = (string) Returns tasks with a specified parent task ID (node_id:task_number). Keep empty or set to -1 to return all.
42
+
* $params['wait_for_completion'] = (boolean) Waits for the matching task to complete. When `true`, the request is blocked until the task has completed. (Default = false)
43
43
* $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false)
44
44
* $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true)
45
45
* $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
@@ -63,9 +63,9 @@ public function cancel(array $params = [])
63
63
/**
64
64
* Returns information about a task.
65
65
*
66
-
* $params['task_id'] = (string) ID of the task.
67
-
* $params['timeout'] = (string) Period to wait for a response.If no response is received before the timeout expires, the request fails and returns an error.
68
-
* $params['wait_for_completion'] = (boolean) If `true`, the request blocks until the task has completed. (Default = false)
66
+
* $params['task_id'] = (string) The ID of the task.
67
+
* $params['timeout'] = (string) The amount of time to wait for a response.
68
+
* $params['wait_for_completion'] = (boolean) Waits for the matching task to complete. When `true`, the request is blocked until the task has completed. (Default = false)
69
69
* $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false)
70
70
* $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true)
71
71
* $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
@@ -89,13 +89,13 @@ public function get(array $params = [])
89
89
/**
90
90
* Returns a list of tasks.
91
91
*
92
-
* $params['actions'] = (any) Comma-separated list or wildcard expression of actions used to limit the request.
93
-
* $params['detailed'] = (boolean) If `true`, the response includes detailed information about shard recoveries. (Default = false)
94
-
* $params['group_by'] = (enum) Key used to group tasks in the response. (Options = nodes,none,parents)
95
-
* $params['nodes'] = (array) Comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
96
-
* $params['parent_task_id'] = (string) Parent task ID used to limit returned information. To return all tasks, omit this parameter or use a value of `-1`.
97
-
* $params['timeout'] = (string) Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
98
-
* $params['wait_for_completion'] = (boolean) If `true`, the request blocks until the operation is complete. (Default = false)
92
+
* $params['actions'] = (any) A comma-separated list of actions that should be returned. Keep empty to return all.
93
+
* $params['detailed'] = (boolean) When `true`, the response includes detailed information about shard recoveries. (Default = false)
94
+
* $params['group_by'] = (enum) Groups tasks by parent/child relationships or nodes. (Options = nodes,none,parents)
95
+
* $params['nodes'] = (array) A comma-separated list of node IDs or names to limit the returned information. Use `_local` to return information from the node you're connecting to, specify the node name to get information from specific nodes, or keep the parameter empty to get information from all nodes.
96
+
* $params['parent_task_id'] = (string) Returns tasks with a specified parent task ID (node_id:task_number). Keep empty or set to -1 to return all.
97
+
* $params['timeout'] = (string) The amount of time to wait for a response.
98
+
* $params['wait_for_completion'] = (boolean) Waits for the matching task to complete. When `true`, the request is blocked until the task has completed. (Default = false)
99
99
* $params['pretty'] = (boolean) Whether to pretty format the returned JSON response. (Default = false)
100
100
* $params['human'] = (boolean) Whether to return human readable values for statistics. (Default = true)
101
101
* $params['error_trace'] = (boolean) Whether to include the stack trace of returned errors. (Default = false)
0 commit comments