Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Endpoints/Security.php
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,7 @@ public function getPrivileges(?array $params = null)
*
* @param array{
* name?: string|array<string>, // A comma-separated list of role names
* include_implicit?: bool, // If true, include privileges that are implicitly granted by registered ImplicitPrivilegesProviders alongside the explicitly configured privileges.
* pretty?: bool, // Pretty format the returned JSON response. (DEFAULT: false)
* human?: bool, // Return human readable values for statistics. (DEFAULT: true)
* error_trace?: bool, // Include the stack trace of returned errors. (DEFAULT: false)
Expand All @@ -1237,7 +1238,7 @@ public function getRole(?array $params = null)
$url = '/_security/role';
$method = 'GET';
}
$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
$url = $this->addQueryString($url, $params, ['include_implicit','pretty','human','error_trace','source','filter_path']);
$headers = [
'Accept' => 'application/json',
];
Expand Down
3 changes: 2 additions & 1 deletion src/Endpoints/Synonyms.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public function deleteSynonymRule(?array $params = null)
* id: string, // (REQUIRED) The name of the synonyms set to be retrieved
* from?: int, // The starting offset for query rules to retrieve.
* size?: int, // The max number of query rules to retrieve. (DEFAULT: 10)
* search_after?: string, // The rule ID of the last result from the previous page, for cursor-based pagination
* pretty?: bool, // Pretty format the returned JSON response. (DEFAULT: false)
* human?: bool, // Return human readable values for statistics. (DEFAULT: true)
* error_trace?: bool, // Include the stack trace of returned errors. (DEFAULT: false)
Expand All @@ -140,7 +141,7 @@ public function getSynonym(?array $params = null)
$url = '/_synonyms/' . $this->encode($params['id']);
$method = 'GET';

$url = $this->addQueryString($url, $params, ['from','size','pretty','human','error_trace','source','filter_path']);
$url = $this->addQueryString($url, $params, ['from','size','search_after','pretty','human','error_trace','source','filter_path']);
$headers = [
'Accept' => 'application/json',
];
Expand Down
Loading