Appearance
Discover home and genre pages
Who: guest or listener; staff (curation); system (precompute, charts, recommendations).
Entry points
| Kind | Entry |
|---|---|
| REST | GET /discover/categories, GET /discover/shelves/:code/items, GET /reco/home, GET /charts, GET /charts/latest, GET /charts/history, GET /charts/:chartId/entries |
| Personal | GET /me/reco/daily-mixes, GET /me/reco/daily-mixes/:slot, GET /me/reco/because-you-played, GET /reco/radio/tracks/:recordingId, GET /reco/radio/artists/:profileId, GET /me/reco/explanations/:recordingId, POST /me/reco/feedback, POST /me/reco/impressions, GET /me/continue-listening |
| Ads | POST /ads/decisions (home banner, sponsored slots) |
| Staff | /staff/discover/shelves…, /staff/discover/categories…, PUT /staff/discover/placements/:placement/order, GET /staff/discover/preview |
| Deep link | home, browse, shelf, genre, mood, chart |
Flow
- Home:
GET /reco/homeandGET /discover/categories; each shelf loadsGET /discover/shelves/:code/items. - Genre and mood pages are categories; their shelves resolve the same way.
discover.precomputebuilds ranked and tagged shelves;charts.computebuilds daily/weekly charts by country and genre;reco.nightly,reco.taste-scan,reco.embed-scan,reco.user-productsbuild mixes and radios (recommendation.product.ready).- Feedback and impressions go to
reco.feedbackandreco.impressions. - Sponsored slots come from
POST /ads/decisions; impressions and clicks from the client (see Ads).
Exit states
| State | Code | Actions | Client next |
|---|---|---|---|
| Rendered | — | — | — |
| Unknown shelf or category | DISCOVER_SHELF_NOT_FOUND, DISCOVER_CATEGORY_NOT_FOUND | — | Hide the row |
| Chart not built yet | CHART_NOT_FOUND | — | Hide |
| Mix not built | RECO_SET_NOT_FOUND | wait | Fall back to trending |
| Radio seed unknown | RECO_SEED_NOT_FOUND | — | — |
| Guest | personal routes UNAUTHENTICATED | sign_in | Show public shelves only |