CuratedRecommendationsResponse
public struct CuratedRecommendationsResponse : Equatable, Hashable, Codable
extension CuratedRecommendationsResponse: Sendable
Top-level response from the Merino curated recommendations API.
-
Timestamp (in milliseconds since epoch) when the recommendations were generated.
Declaration
Swift
public var recommendedAt: Int64 -
The list of recommended items.
Declaration
Swift
public var data: [RecommendationDataItem] -
Optional categorized feeds (e.g. by topic section).
Declaration
Swift
public var feeds: [FeedSection]? -
Optional interest picker configuration for displaying section selection UI.
Declaration
Swift
public var interestPicker: InterestPicker? -
Declaration
Swift
public init( /** * Timestamp (in milliseconds since epoch) when the recommendations were generated. */recommendedAt: Int64, /** * The list of recommended items. */data: [RecommendationDataItem], /** * Optional categorized feeds (e.g. by topic section). */feeds: [FeedSection]? = nil, /** * Optional interest picker configuration for displaying section selection UI. */interestPicker: InterestPicker? = nil)