Skip to content

Commit 6f4a4b4

Browse files
algolia-botkai687shortcuts
committed
chore: deprecate mcm methods (generated)
algolia/api-clients-automation#4694 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: shortcuts <[email protected]>
1 parent 5587084 commit 6f4a4b4

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

lib/algolia/api/ingestion_client.rb

+9
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def create_task(task_create, request_options = {})
261261

262262
# Creates a new task using the v1 endpoint, please use `createTask` instead.
263263

264+
# THIS OPERATION IS DEPRECATED
264265
# @param task_create [TaskCreateV1] Request body for creating a task. (required)
265266
# @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)
266267
# @return [Http::Response] the response
@@ -710,6 +711,7 @@ def delete_task(task_id, request_options = {})
710711

711712
# Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
712713

714+
# THIS OPERATION IS DEPRECATED
713715
# @param task_id [String] Unique identifier of a task. (required)
714716
# @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)
715717
# @return [Http::Response] the response
@@ -845,6 +847,7 @@ def disable_task(task_id, request_options = {})
845847
# - addObject
846848
# - deleteIndex
847849
# - editSettings
850+
# THIS OPERATION IS DEPRECATED
848851
# @param task_id [String] Unique identifier of a task. (required)
849852
# @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)
850853
# @return [Http::Response] the response
@@ -941,6 +944,7 @@ def enable_task(task_id, request_options = {})
941944
# - addObject
942945
# - deleteIndex
943946
# - editSettings
947+
# THIS OPERATION IS DEPRECATED
944948
# @param task_id [String] Unique identifier of a task. (required)
945949
# @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)
946950
# @return [Http::Response] the response
@@ -1292,6 +1296,7 @@ def get_task(task_id, request_options = {})
12921296
# - addObject
12931297
# - deleteIndex
12941298
# - editSettings
1299+
# THIS OPERATION IS DEPRECATED
12951300
# @param task_id [String] Unique identifier of a task. (required)
12961301
# @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)
12971302
# @return [Http::Response] the response
@@ -1972,6 +1977,7 @@ def list_tasks(
19721977
# - addObject
19731978
# - deleteIndex
19741979
# - editSettings
1980+
# THIS OPERATION IS DEPRECATED
19751981
# @param items_per_page [Integer] Number of items per page. (default to 10)
19761982
# @param page [Integer] Page number of the paginated API response.
19771983
# @param action [Array<ActionType>] Actions for filtering the list of tasks.
@@ -2295,6 +2301,7 @@ def run_task(task_id, request_options = {})
22952301
# - addObject
22962302
# - deleteIndex
22972303
# - editSettings
2304+
# THIS OPERATION IS DEPRECATED
22982305
# @param task_id [String] Unique identifier of a task. (required)
22992306
# @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)
23002307
# @return [Http::Response] the response
@@ -2535,6 +2542,7 @@ def search_tasks(task_search, request_options = {})
25352542
# - addObject
25362543
# - deleteIndex
25372544
# - editSettings
2545+
# THIS OPERATION IS DEPRECATED
25382546
# @param task_search [TaskSearch] (required)
25392547
# @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)
25402548
# @return [Http::Response] the response
@@ -3014,6 +3022,7 @@ def update_task(task_id, task_update, request_options = {})
30143022

30153023
# Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
30163024

3025+
# THIS OPERATION IS DEPRECATED
30173026
# @param task_id [String] Unique identifier of a task. (required)
30183027
# @param task_update [TaskUpdateV1] (required)
30193028
# @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)

lib/algolia/api/search_client.rb

+9
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ def append_source(source, request_options = {})
207207
#
208208
# Required API Key ACLs:
209209
# - admin
210+
# THIS OPERATION IS DEPRECATED
210211
# @param x_algolia_user_id [String] Unique identifier of the user who makes the search request. (required)
211212
# @param assign_user_id_params [AssignUserIdParams] (required)
212213
# @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)
@@ -304,6 +305,7 @@ def batch(index_name, batch_write_params, request_options = {})
304305
#
305306
# Required API Key ACLs:
306307
# - admin
308+
# THIS OPERATION IS DEPRECATED
307309
# @param x_algolia_user_id [String] Unique identifier of the user who makes the search request. (required)
308310
# @param batch_assign_user_ids_params [BatchAssignUserIdsParams] (required)
309311
# @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)
@@ -1673,6 +1675,7 @@ def get_task(index_name, task_id, request_options = {})
16731675
#
16741676
# Required API Key ACLs:
16751677
# - admin
1678+
# THIS OPERATION IS DEPRECATED
16761679
# @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)
16771680
# @return [Http::Response] the response
16781681
def get_top_user_ids_with_http_info(request_options = {})
@@ -1710,6 +1713,7 @@ def get_top_user_ids(request_options = {})
17101713
#
17111714
# Required API Key ACLs:
17121715
# - admin
1716+
# THIS OPERATION IS DEPRECATED
17131717
# @param user_id [String] Unique identifier of the user who makes the search request. (required)
17141718
# @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)
17151719
# @return [Http::Response] the response
@@ -1754,6 +1758,7 @@ def get_user_id(user_id, request_options = {})
17541758
#
17551759
# Required API Key ACLs:
17561760
# - admin
1761+
# THIS OPERATION IS DEPRECATED
17571762
# @param get_clusters [Boolean] Whether to include the cluster's pending mapping state in the response.
17581763
# @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)
17591764
# @return [Http::Response] the response
@@ -1834,6 +1839,7 @@ def list_api_keys(request_options = {})
18341839
#
18351840
# Required API Key ACLs:
18361841
# - admin
1842+
# THIS OPERATION IS DEPRECATED
18371843
# @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)
18381844
# @return [Http::Response] the response
18391845
def list_clusters_with_http_info(request_options = {})
@@ -1914,6 +1920,7 @@ def list_indices(page = nil, hits_per_page = nil, request_options = {})
19141920
#
19151921
# Required API Key ACLs:
19161922
# - admin
1923+
# THIS OPERATION IS DEPRECATED
19171924
# @param page [Integer] Requested page of the API response. If `null`, the API response is not paginated.
19181925
# @param hits_per_page [Integer] Number of hits per page. (default to 100)
19191926
# @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)
@@ -2129,6 +2136,7 @@ def partial_update_object(
21292136
#
21302137
# Required API Key ACLs:
21312138
# - admin
2139+
# THIS OPERATION IS DEPRECATED
21322140
# @param user_id [String] Unique identifier of the user who makes the search request. (required)
21332141
# @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)
21342142
# @return [Http::Response] the response
@@ -2906,6 +2914,7 @@ def search_synonyms(index_name, search_synonyms_params = nil, request_options =
29062914
#
29072915
# Required API Key ACLs:
29082916
# - admin
2917+
# THIS OPERATION IS DEPRECATED
29092918
# @param search_user_ids_params [SearchUserIdsParams] (required)
29102919
# @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)
29112920
# @return [Http::Response] the response

0 commit comments

Comments
 (0)