Skip to content

Commit 14d2f9b

Browse files
authored
Merge branch 'main' into feat-add-recommend-batch-rules
2 parents 9c83681 + 1d95849 commit 14d2f9b

File tree

13 files changed

+32
-22
lines changed

13 files changed

+32
-22
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ public partial interface ISearchClient
694694
DeletedAtResponse DeleteSynonym(string indexName, string objectID, bool? forwardToReplicas = default, RequestOptions options = null, CancellationToken cancellationToken = default);
695695

696696
/// <summary>
697-
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
697+
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
698698
/// </summary>
699699
/// <param name="key">API key.</param>
700700
/// <param name="options">Add extra http header or query parameters to Algolia.</param>
@@ -706,7 +706,7 @@ public partial interface ISearchClient
706706
Task<GetApiKeyResponse> GetApiKeyAsync(string key, RequestOptions options = null, CancellationToken cancellationToken = default);
707707

708708
/// <summary>
709-
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key. (Synchronous version)
709+
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`. (Synchronous version)
710710
/// </summary>
711711
/// <param name="key">API key.</param>
712712
/// <param name="options">Add extra http header or query parameters to Algolia.</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
@@ -895,7 +895,7 @@ final class SearchClient implements ApiClient {
895895
);
896896
}
897897

898-
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
898+
/// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
899899
///
900900
/// Parameters:
901901
/// * [key] API key.

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

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

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2014,7 +2014,8 @@ public CompletableFuture<DeletedAtResponse> deleteSynonymAsync(@Nonnull String i
20142014
/**
20152015
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
20162016
* key, you can request information for any of your application's keys. When authenticating with
2017-
* other API keys, you can only retrieve information for that key.
2017+
* other API keys, you can only retrieve information for that key, with the description replaced
2018+
* by `<redacted>`.
20182019
*
20192020
* @param key API key. (required)
20202021
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2028,7 +2029,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key, RequestOptions requestOp
20282029
/**
20292030
* Gets the permissions and restrictions of an API key. When authenticating with the admin API
20302031
* key, you can request information for any of your application's keys. When authenticating with
2031-
* other API keys, you can only retrieve information for that key.
2032+
* other API keys, you can only retrieve information for that key, with the description replaced
2033+
* by `<redacted>`.
20322034
*
20332035
* @param key API key. (required)
20342036
* @throws AlgoliaRuntimeException If it fails to process the API call
@@ -2040,7 +2042,8 @@ public GetApiKeyResponse getApiKey(@Nonnull String key) throws AlgoliaRuntimeExc
20402042
/**
20412043
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
20422044
* the admin API key, you can request information for any of your application's keys. When
2043-
* authenticating with other API keys, you can only retrieve information for that key.
2045+
* authenticating with other API keys, you can only retrieve information for that key, with the
2046+
* description replaced by `<redacted>`.
20442047
*
20452048
* @param key API key. (required)
20462049
* @param requestOptions The requestOptions to send along with the query, they will be merged with
@@ -2059,7 +2062,8 @@ public CompletableFuture<GetApiKeyResponse> getApiKeyAsync(@Nonnull String key,
20592062
/**
20602063
* (asynchronously) Gets the permissions and restrictions of an API key. When authenticating with
20612064
* the admin API key, you can request information for any of your application's keys. When
2062-
* authenticating with other API keys, you can only retrieve information for that key.
2065+
* authenticating with other API keys, you can only retrieve information for that key, with the
2066+
* description replaced by `<redacted>`.
20632067
*
20642068
* @param key API key. (required)
20652069
* @throws AlgoliaRuntimeException If it fails to process the API call

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ export function createSearchClient({
15011501
},
15021502

15031503
/**
1504-
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application\'s keys. When authenticating with other API keys, you can only retrieve information for that key.
1504+
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application\'s keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
15051505
*
15061506
* @param getApiKey - The getApiKey object.
15071507
* @param getApiKey.key - API key.

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
@@ -521,7 +521,7 @@ public class SearchClient(
521521
}
522522

523523
/**
524-
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
524+
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
525525
* @param key API key.
526526
* @param requestOptions additional request configuration.
527527
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1110,7 +1110,7 @@ public function deleteSynonym($indexName, $objectID, $forwardToReplicas = null,
11101110
}
11111111

11121112
/**
1113-
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
1113+
* Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
11141114
*
11151115
* @param string $key API key. (required)
11161116
* @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
@@ -2265,7 +2265,7 @@ async def get_api_key_with_http_info(
22652265
request_options: Optional[Union[dict, RequestOptions]] = None,
22662266
) -> ApiResponse[str]:
22672267
"""
2268-
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
2268+
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
22692269
22702270
22712271
:param key: API key. (required)
@@ -2292,7 +2292,7 @@ async def get_api_key(
22922292
request_options: Optional[Union[dict, RequestOptions]] = None,
22932293
) -> GetApiKeyResponse:
22942294
"""
2295-
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
2295+
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
22962296
22972297
22982298
:param key: API key. (required)
@@ -7179,7 +7179,7 @@ def get_api_key_with_http_info(
71797179
request_options: Optional[Union[dict, RequestOptions]] = None,
71807180
) -> ApiResponse[str]:
71817181
"""
7182-
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
7182+
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
71837183
71847184
71857185
:param key: API key. (required)
@@ -7206,7 +7206,7 @@ def get_api_key(
72067206
request_options: Optional[Union[dict, RequestOptions]] = None,
72077207
) -> GetApiKeyResponse:
72087208
"""
7209-
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
7209+
Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
72107210
72117211
72127212
:param key: API key. (required)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ def delete_synonym(index_name, object_id, forward_to_replicas = nil, request_opt
11271127
@api_client.deserialize(response.body, request_options[:debug_return_type] || "Search::DeletedAtResponse")
11281128
end
11291129

1130-
# Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application&#39;s keys. When authenticating with other API keys, you can only retrieve information for that key.
1130+
# Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application&#39;s keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by &#x60;&lt;redacted&gt;&#x60;.
11311131

11321132
# @param key [String] API key. (required)
11331133
# @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)
@@ -1157,7 +1157,7 @@ def get_api_key_with_http_info(key, request_options = {})
11571157
@api_client.call_api(:GET, path, new_options)
11581158
end
11591159

1160-
# Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key.
1160+
# Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request information for any of your application's keys. When authenticating with other API keys, you can only retrieve information for that key, with the description replaced by `<redacted>`.
11611161

11621162
# @param key [String] API key. (required)
11631163
# @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)

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
@@ -695,7 +695,7 @@ class SearchClient(
695695

696696
/** Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request
697697
* information for any of your application's keys. When authenticating with other API keys, you can only retrieve
698-
* information for that key.
698+
* information for that key, with the description replaced by `<redacted>`.
699699
*
700700
* @param key
701701
* API key.

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

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

14841484
// Gets the permissions and restrictions of an API key. When authenticating with the admin API key, you can request
14851485
// information for any of your application's keys. When authenticating with other API keys, you can only retrieve
1486-
// information for that key.
1486+
// information for that key, with the description replaced by `<redacted>`.
14871487
//
14881488
//
14891489
// - parameter key: (path) API key.

specs/bundled/search.doc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9498,7 +9498,9 @@ paths:
94989498
for any of your application's keys.
94999499

95009500
When authenticating with other API keys, you can only retrieve
9501-
information for that key.
9501+
information for that key,
9502+
9503+
with the description replaced by `<redacted>`.
95029504
parameters:
95039505
- $ref: '#/components/parameters/KeyString'
95049506
responses:

specs/bundled/search.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,9 @@ paths:
15791579
for any of your application's keys.
15801580
15811581
When authenticating with other API keys, you can only retrieve
1582-
information for that key.
1582+
information for that key,
1583+
1584+
with the description replaced by `<redacted>`.
15831585
parameters:
15841586
- $ref: '#/components/parameters/KeyString'
15851587
responses:

0 commit comments

Comments
 (0)