Skip to content

Commit 4c15d11

Browse files
algolia-botkai687
andcommitted
fix: wrong ACL for getSettings (generated)
Co-authored-by: Kai Welke <[email protected]>
1 parent b7020b6 commit 4c15d11

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Clients/SearchClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ Rule GetRule(
12331233
/// </summary>
12341234
///
12351235
/// Required API Key ACLs:
1236-
/// - search
1236+
/// - settings
12371237
/// <param name="indexName">Name of the index on which to perform the operation.</param>
12381238
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
12391239
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>
@@ -1252,7 +1252,7 @@ Task<SettingsResponse> GetSettingsAsync(
12521252
/// </summary>
12531253
///
12541254
/// Required API Key ACLs:
1255-
/// - search
1255+
/// - settings
12561256
/// <param name="indexName">Name of the index on which to perform the operation.</param>
12571257
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
12581258
/// <param name="cancellationToken">Cancellation Token to cancel the request.</param>

clients/algoliasearch-client-dart/packages/client_search/lib/src/api/search_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,7 @@ final class SearchClient implements ApiClient {
11641164
/// Retrieves an object with non-null index settings.
11651165
///
11661166
/// Required API Key ACLs:
1167-
/// - search
1167+
/// - settings
11681168
///
11691169
/// Parameters:
11701170
/// * [indexName] Name of the index on which to perform the operation.

clients/algoliasearch-client-go/algolia/search/api_search.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-javascript/packages/client-search/src/searchClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1788,7 +1788,7 @@ export function createSearchClient({
17881788
* Retrieves an object with non-null index settings.
17891789
*
17901790
* Required API Key ACLs:
1791-
* - search
1791+
* - settings
17921792
* @param getSettings - The getSettings object.
17931793
* @param getSettings.indexName - Name of the index on which to perform the operation.
17941794
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/api/SearchClient.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ public class SearchClient(
697697
* Retrieves an object with non-null index settings.
698698
*
699699
* Required API Key ACLs:
700-
* - search
700+
* - settings
701701
* @param indexName Name of the index on which to perform the operation.
702702
* @param requestOptions additional request configuration.
703703
*/

clients/algoliasearch-client-php/lib/Api/SearchClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ public function getRule($indexName, $objectID, $requestOptions = [])
14381438
* Retrieves an object with non-null index settings.
14391439
*
14401440
* Required API Key ACLs:
1441-
* - search
1441+
* - settings
14421442
*
14431443
* @param string $indexName Name of the index on which to perform the operation. (required)
14441444
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions

clients/algoliasearch-client-python/algoliasearch/search/client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2920,7 +2920,7 @@ async def get_settings_with_http_info(
29202920
Retrieves an object with non-null index settings.
29212921
29222922
Required API Key ACLs:
2923-
- search
2923+
- settings
29242924
29252925
:param index_name: Name of the index on which to perform the operation. (required)
29262926
:type index_name: str
@@ -2956,7 +2956,7 @@ async def get_settings(
29562956
Retrieves an object with non-null index settings.
29572957
29582958
Required API Key ACLs:
2959-
- search
2959+
- settings
29602960
29612961
:param index_name: Name of the index on which to perform the operation. (required)
29622962
:type index_name: str
@@ -8043,7 +8043,7 @@ def get_settings_with_http_info(
80438043
Retrieves an object with non-null index settings.
80448044
80458045
Required API Key ACLs:
8046-
- search
8046+
- settings
80478047
80488048
:param index_name: Name of the index on which to perform the operation. (required)
80498049
:type index_name: str
@@ -8079,7 +8079,7 @@ def get_settings(
80798079
Retrieves an object with non-null index settings.
80808080
80818081
Required API Key ACLs:
8082-
- search
8082+
- settings
80838083
80848084
:param index_name: Name of the index on which to perform the operation. (required)
80858085
:type index_name: str

clients/algoliasearch-client-ruby/lib/algolia/api/search_client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ def get_rule(index_name, algolia_object_id, request_options = {})
15011501
# Retrieves an object with non-null index settings.
15021502
#
15031503
# Required API Key ACLs:
1504-
# - search
1504+
# - settings
15051505
# @param index_name [String] Name of the index on which to perform the operation. (required)
15061506
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
15071507
# @return [Http::Response] the response
@@ -1533,7 +1533,7 @@ def get_settings_with_http_info(index_name, request_options = {})
15331533
# Retrieves an object with non-null index settings.
15341534
#
15351535
# Required API Key ACLs:
1536-
# - search
1536+
# - settings
15371537
# @param index_name [String] Name of the index on which to perform the operation. (required)
15381538
# @param request_options: The request options to send along with the query, they will be merged with the transporter base parameters (headers, query params, timeouts, etc.). (optional)
15391539
# @return [SettingsResponse]

clients/algoliasearch-client-scala/src/main/scala/algoliasearch/api/SearchClient.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ class SearchClient(
922922
/** Retrieves an object with non-null index settings.
923923
*
924924
* Required API Key ACLs:
925-
* - search
925+
* - settings
926926
*
927927
* @param indexName
928928
* Name of the index on which to perform the operation.

clients/algoliasearch-client-swift/Sources/Search/SearchClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ open class SearchClient {
20572057

20582058
// Retrieves an object with non-null index settings.
20592059
// Required API Key ACLs:
2060-
// - search
2060+
// - settings
20612061
//
20622062
// - parameter indexName: (path) Name of the index on which to perform the operation.
20632063
// - returns: RequestBuilder<SettingsResponse>

docs/bundled/search.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@
12641264
"operationId": "getSettings",
12651265
"x-mcp-tool": true,
12661266
"x-acl": [
1267-
"search"
1267+
"settings"
12681268
],
12691269
"description": "Retrieves an object with non-null index settings.",
12701270
"summary": "Retrieve index settings",

docs/bundled/search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6146,7 +6146,7 @@ paths:
61466146
operationId: getSettings
61476147
x-mcp-tool: true
61486148
x-acl:
6149-
- search
6149+
- settings
61506150
description: Retrieves an object with non-null index settings.
61516151
summary: Retrieve index settings
61526152
parameters:

specs/bundled/search.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ paths:
13011301
operationId: getSettings
13021302
x-mcp-tool: true
13031303
x-acl:
1304-
- search
1304+
- settings
13051305
description: Retrieves an object with non-null index settings.
13061306
summary: Retrieve index settings
13071307
parameters:

0 commit comments

Comments
 (0)