Skip to content

Commit abbd60b

Browse files
algolia-botkai687shortcuts
committed
fix(specs): usage api (generated)
algolia/api-clients-automation#3624 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 7d6246f commit abbd60b

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

src/main/scala/algoliasearch/api/InsightsClient.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ class InsightsClient(
166166
}
167167

168168
/** Deletes all events related to the specified user token from events metrics and analytics. The deletion is
169-
* asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user
170-
* profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
169+
* asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile`
170+
* in the Personalization API.
171171
*
172172
* @param userToken
173173
* User token for which to delete all associated events.

src/main/scala/algoliasearch/api/QuerySuggestionsClient.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,8 @@ class QuerySuggestionsClient(
193193
}
194194

195195
/** Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the Query
196-
* Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an
197-
* index](/specs/search#tag/Indices/operation/deleteIndex) operation.
196+
* Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an index`
197+
* operation.
198198
*
199199
* Required API Key ACLs:
200200
* - editSettings

src/main/scala/algoliasearch/api/UsageClient.scala

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ object UsageClient {
4242

4343
private def hosts(): Seq[Host] = {
4444
List(
45-
Host("usage.algolia.com", Set(CallType.Read, CallType.Write)),
46-
Host("usage-dev.algolia.com", Set(CallType.Read, CallType.Write))
45+
Host("usage.algolia.com", Set(CallType.Read, CallType.Write))
4746
)
4847
}
4948
}
@@ -253,9 +252,9 @@ class UsageClient(
253252
* @param indexName
254253
* Name of the index on which to perform the operation.
255254
* @param startDate
256-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
255+
* Start date of the period to analyze, in RFC 3339 format.
257256
* @param endDate
258-
* End date of the period to analyze, in `YYYY-MM-DD` format.
257+
* End date of the period to analyze, in RFC 3339 format.
259258
* @param granularity
260259
* Granularity of the aggregated metrics. - `hourly`: the maximum time range for hourly metrics is 7 days. -
261260
* `daily`: the maximum time range for daily metrics is 365 days.
@@ -374,9 +373,9 @@ class UsageClient(
374373
* degraded queries due to all search threads being used. - `degraded_queries_max_capacity_seconds_impacted`.
375374
* Percentage of seconds affected by `max_capacity` degraded queries.
376375
* @param startDate
377-
* Start date of the period to analyze, in `YYYY-MM-DD` format.
376+
* Start date of the period to analyze, in RFC 3339 format.
378377
* @param endDate
379-
* End date of the period to analyze, in `YYYY-MM-DD` format.
378+
* End date of the period to analyze, in RFC 3339 format.
380379
* @param granularity
381380
* Granularity of the aggregated metrics. - `hourly`: the maximum time range for hourly metrics is 7 days. -
382381
* `daily`: the maximum time range for daily metrics is 365 days.

0 commit comments

Comments
 (0)