Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 7.53 KB

File metadata and controls

12 lines (9 loc) · 7.53 KB

FeedResult

Fields

Field Type Required Description
category models.FeedResultCategory ✔️ Category of the result, one of the requested categories in incoming request.
primary_entry models.FeedEntry ✔️ N/A
secondary_entries List[models.FeedEntry] Secondary entries for the result e.g. suggested docs for the calendar, carousel.
rank Optional[int] Rank of the result. Rank is suggested by server. Client side rank may differ.
placement_reason Optional[models.PlacementReason] Placement source for ranked feed results. ORGANIC means the card was emitted by normal feed ranking. PROMO means the card was inserted by the homepage cards promo framework. PINNED means the card was moved to the head of the ranked stack (e.g. knowledge-gap pilot cards).