Skip to main content

Interface: RecommendationsGetOptions

Defined in: types.ts:1036

Optional overrides for a recommendations request.

Properties

PropertyTypeDescriptionDefined in
device?stringReader's device id. Defaults to the SDK's own device cookie.types.ts:1044
limit?numberHow many articles to ask for. Defaults to 6 upstream; 24 is the maximum.types.ts:1038
maxAgeDays?numberPublish-recency cap in days. 0, the default, means no cap.types.ts:1042
path?stringArticle to anchor on. Defaults to the current window.location.pathname.types.ts:1040