Lines Matching defs:params

33      * $params['body'] = (array) Specify the cursor value in the `cursor` element to clean the cursor. (Required)
35 * @param array $params Associative array of parameters
39 public function clearCursor(array $params = [])
41 $body = $this->extractArgument($params, 'body');
45 $endpoint->setParams($params);
53 * $params['id'] = (string) The async search ID
55 * @param array $params Associative array of parameters
59 public function deleteAsync(array $params = [])
61 $id = $this->extractArgument($params, 'id');
65 $endpoint->setParams($params);
73 * $params['id'] = (string) The async search ID
74 * $params['delimiter'] = (string) Separator for CSV results (Default = ,)
75 * $params['format'] = (string) Short version of the Accept header, e.g. json, yaml
76 * $params['keep_alive'] = (time) Retention period for the search and its results (Default = 5d)
77 * $params['wait_for_completion_timeout'] = (time) Duration to wait for complete results
79 * @param array $params Associative array of parameters
83 public function getAsync(array $params = [])
85 $id = $this->extractArgument($params, 'id');
89 $endpoint->setParams($params);
97 * $params['id'] = (string) The async search ID
99 * @param array $params Associative array of parameters
103 public function getAsyncStatus(array $params = [])
105 $id = $this->extractArgument($params, 'id');
109 $endpoint->setParams($params);
117 * $params['format'] = (string) a short version of the Accept header, e.g. json, yaml
118 * $params['body'] = (array) Use the `query` element to start a query. Use the `cursor` element to continue a query. (Required)
120 * @param array $params Associative array of parameters
124 public function query(array $params = [])
126 $body = $this->extractArgument($params, 'body');
130 $endpoint->setParams($params);
138 * $params['body'] = (array) Specify the query in the `query` element. (Required)
140 * @param array $params Associative array of parameters
144 public function translate(array $params = [])
146 $body = $this->extractArgument($params, 'body');
150 $endpoint->setParams($params);