Skip to content

Commit f8b83f7

Browse files
Auto-generated API code
1 parent f9c9685 commit f8b83f7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Endpoints/Transform.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ public function getTransform(?array $params = null)
159159
*
160160
* @param array{
161161
* transform_id: string|array<string>, // (REQUIRED) Comma-separated list of transform identifiers or wildcard expressions. You can get information for all transforms by using `_all`, by specifying `*` as the `<transform_id>`, or by omitting the `<transform_id>`.
162+
* allow_no_match?: bool, // Specifies what to do when the request: 1. Contains wildcard expressions and there are no transforms that match. 2. Contains the _all string or no identifiers and there are no matches. 3. Contains wildcard expressions and there are only partial matches. If this parameter is false, the request returns a 404 status code when there are no matches or only partial matches. (DEFAULT: 1)
163+
* basic?: bool, // If true, the response includes `id`, `state`, `node`, `stats`, `health`, and basic `checkpointing` information (the last and next checkpoint numbers, and the next checkpoint's `position` and `progress`). Skips statistics that require heavy computations to calculate: `operations_behind`, `changes_last_detected_at`, `last_search_time`, and the checkpoint timestamps.
162164
* from?: int, // Skips the specified number of transforms.
163165
* size?: int, // Specifies the maximum number of transforms to obtain. (DEFAULT: 100)
164166
* timeout?: int|string, // Controls the time to wait for the stats (DEFAULT: 30s)
165-
* allow_no_match?: bool, // Specifies what to do when the request: 1. Contains wildcard expressions and there are no transforms that match. 2. Contains the _all string or no identifiers and there are no matches. 3. Contains wildcard expressions and there are only partial matches. If this parameter is false, the request returns a 404 status code when there are no matches or only partial matches. (DEFAULT: 1)
166167
* pretty?: bool, // Pretty format the returned JSON response. (DEFAULT: false)
167168
* human?: bool, // Return human readable values for statistics. (DEFAULT: true)
168169
* error_trace?: bool, // Include the stack trace of returned errors. (DEFAULT: false)
@@ -184,7 +185,7 @@ public function getTransformStats(?array $params = null)
184185
$url = '/_transform/' . $this->encode($this->convertValue($params['transform_id'])) . '/_stats';
185186
$method = 'GET';
186187

187-
$url = $this->addQueryString($url, $params, ['from','size','timeout','allow_no_match','pretty','human','error_trace','source','filter_path']);
188+
$url = $this->addQueryString($url, $params, ['allow_no_match','basic','from','size','timeout','pretty','human','error_trace','source','filter_path']);
188189
$headers = [
189190
'Accept' => 'application/json',
190191
];

0 commit comments

Comments
 (0)