Skip to navigation

Scored, per-member, age-gated catalog serve

The scored catalog serve: reuses the unscored serve’s namespace prune and age gate, then ranks the age-gated visible catalog against the requesting member’s saved preference profile with a deterministic, model-free scorer. seatId and the optional memberSlot are UN-TRUSTED LOCATORS ONLY (never a trust assertion) — airline_id, the bound persona, and affinity state are always server-resolved. personaBound is honest: false means no persona/affinity is bound yet for this member (cold-start, affinity-neutral ordering), never a fabricated score. The age gate still excludes mature titles regardless of affinity — scoring never overrides child-safety. When the optional sourceSystem body field names the caller’s own id namespace, each served item also echoes the caller’s externalTitleId under it (null for titles the caller did not ingest).

Authentication

AuthorizationBearer

OAuth authentication of the form <token>.

Headers

X-Session-IdstringRequired

The passenger-session locator (a within-tenant locator, never a trust assertion). A missing or key-unsafe value is rejected 400 before this handler runs.

Request

This endpoint expects an object.
seatIdstringRequired
memberSlotstring or nullOptional
kindstring or nullOptional

Optional content-kind filter: “Movie”, “TV”, “Audio”, or “Game” (any casing); omitted applies no kind filter, so every catalog kind is eligible.

sourceSystemstring or nullOptional

Optional id-namespace token — the same sourceSystem used when this caller’s titles were centrally ingested (1-64 characters of lowercase letters, digits, and hyphens). When present, each served item echoes the caller’s own externalTitleId under that namespace (null for titles without a confirmed ingest mapping there); omitted = no external-id echo.

limitinteger or string or nullOptional
offsetinteger or stringOptional

Response

OK
correlationIdstring
itemslist of objects

Score-ordered (descending), with a stable tie-break.

totalItemsinteger or string

The count of titles this request could serve, before age-gate exclusion: the caller’s visible catalog — and, when the session is bound to a flight with a pushed active catalog, only the titles on that flight.

ageExcludedCountinteger or string

Honest count of items the age gate removed from that total — never papered over.

ageTierAppliedenum

The server-resolved age tier the age gate applied (never a client-asserted value).

Allowed values:
personaBoundboolean

False when no persona or affinity profile has been bound for this member yet (cold start, affinity-neutral ordering) — never a fabricated bound score.

schemaVersionstringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
500
Internal Server Error