Skip to content

Commit 7d455eb

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 8eb01d7 commit 7d455eb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

Sources/Insights/InsightsClient.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,9 @@ open class InsightsClient {
295295
}
296296

297297
/// Deletes all events related to the specified user token from events metrics and analytics. The deletion is
298-
/// asynchronous, and processed within 48 hours. To delete a personalization user profile, see [Delete a user
299-
/// profile](/specs/personalization#tag/profiles/operation/deleteUserProfile).
298+
/// asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user
299+
/// profile`
300+
/// in the Personalization API.
300301
///
301302
///
302303
/// - parameter userToken: (path) User token for which to delete all associated events.

Sources/QuerySuggestions/QuerySuggestionsClient.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@ open class QuerySuggestionsClient {
350350
}
351351

352352
// Deletes a Query Suggestions configuration. Deleting only removes the configuration and stops updates to the
353-
// Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the [Delete an
354-
// index](/specs/search#tag/Indices/operation/deleteIndex) operation.
353+
// Query Suggestions index. To delete the Query Suggestions index itself, use the Search API and the `Delete an
354+
// index` operation.
355355
// Required API Key ACLs:
356356
// - editSettings
357357
//

Sources/Usage/UsageClient.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ open class UsageClient {
393393
/// degraded queries due to all search threads being used. - `degraded_queries_max_capacity_seconds_impacted`.
394394
/// Percentage of seconds affected by `max_capacity` degraded queries.
395395
/// - parameter indexName: (path) Name of the index on which to perform the operation.
396-
/// - parameter startDate: (query) Start date of the period to analyze, in `YYYY-MM-DD` format.
397-
/// - parameter endDate: (query) End date of the period to analyze, in `YYYY-MM-DD` format.
396+
/// - parameter startDate: (query) Start date of the period to analyze, in RFC 3339 format.
397+
/// - parameter endDate: (query) End date of the period to analyze, in RFC 3339 format.
398398
/// - parameter granularity: (query) Granularity of the aggregated metrics. - `hourly`: the maximum time range for
399399
/// hourly metrics is 7 days. - `daily`: the maximum time range for daily metrics is 365 days. (optional)
400400
/// - returns: IndexUsage
@@ -524,9 +524,9 @@ open class UsageClient {
524524
//
525525
// - parameter indexName: (path) Name of the index on which to perform the operation.
526526
//
527-
// - parameter startDate: (query) Start date of the period to analyze, in `YYYY-MM-DD` format.
527+
// - parameter startDate: (query) Start date of the period to analyze, in RFC 3339 format.
528528
//
529-
// - parameter endDate: (query) End date of the period to analyze, in `YYYY-MM-DD` format.
529+
// - parameter endDate: (query) End date of the period to analyze, in RFC 3339 format.
530530
//
531531
// - parameter granularity: (query) Granularity of the aggregated metrics. - `hourly`: the maximum time range for
532532
// hourly metrics is 7 days. - `daily`: the maximum time range for daily metrics is 365 days. (optional)
@@ -695,8 +695,8 @@ open class UsageClient {
695695
/// affected by `ssd_used` degraded queries. - `degraded_queries_max_capacity_queries_impacted`. Percentage of
696696
/// degraded queries due to all search threads being used. - `degraded_queries_max_capacity_seconds_impacted`.
697697
/// Percentage of seconds affected by `max_capacity` degraded queries.
698-
/// - parameter startDate: (query) Start date of the period to analyze, in `YYYY-MM-DD` format.
699-
/// - parameter endDate: (query) End date of the period to analyze, in `YYYY-MM-DD` format.
698+
/// - parameter startDate: (query) Start date of the period to analyze, in RFC 3339 format.
699+
/// - parameter endDate: (query) End date of the period to analyze, in RFC 3339 format.
700700
/// - parameter granularity: (query) Granularity of the aggregated metrics. - `hourly`: the maximum time range for
701701
/// hourly metrics is 7 days. - `daily`: the maximum time range for daily metrics is 365 days. (optional)
702702
/// - returns: IndexUsage
@@ -822,9 +822,9 @@ open class UsageClient {
822822
// degraded queries due to all search threads being used. - `degraded_queries_max_capacity_seconds_impacted`.
823823
// Percentage of seconds affected by `max_capacity` degraded queries.
824824
//
825-
// - parameter startDate: (query) Start date of the period to analyze, in `YYYY-MM-DD` format.
825+
// - parameter startDate: (query) Start date of the period to analyze, in RFC 3339 format.
826826
//
827-
// - parameter endDate: (query) End date of the period to analyze, in `YYYY-MM-DD` format.
827+
// - parameter endDate: (query) End date of the period to analyze, in RFC 3339 format.
828828
//
829829
// - parameter granularity: (query) Granularity of the aggregated metrics. - `hourly`: the maximum time range for
830830
// hourly metrics is 7 days. - `daily`: the maximum time range for daily metrics is 365 days. (optional)

Sources/Usage/UsageClientConfiguration.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ public struct UsageClientConfiguration: BaseConfiguration, Credentials {
5050
guard let hosts else {
5151
self.hosts = [
5252
.init(url: URL(string: "https://usage.algolia.com")!),
53-
.init(url: URL(string: "https://usage-dev.algolia.com")!),
5453
]
5554
return
5655
}

0 commit comments

Comments
 (0)