User

Get user settings

Changed on

Authenticated settings row. Creates one from User.isPrivate when missing. privateProfile mirrors isPrivate. Includes per-channel notify* booleans, accessibility flags, liveScoreUpdates (opt-in, default false) for OS live score surfaces, analyticsPersonalization (opt-out, default true) for feed ranking and behavioural signals (#614), personalizedAdsConsent (explicit consent for personalized ads, default false, #785) with personalizedAdsConsentAt (ISO-8601 or null) and personalizedAdsConsentVersion (currently version 1, or null until the fan chooses), and hqTextMode (marquee | expand | wrap, default expand) for HQ long-text display (#702). Includes teamNameDisplayMode (full | name_only, default full) for club-name display: full is city plus name (Montreal Canadiens); name_only is the club name (Canadiens). Includes packOpenMotion (system | full | reduced, default system) for the pack-opening motion preference (#884). Includes packSoundEnabled (boolean, default true) for the pack-opening sounds toggle (#920). Also returns data.appTour.seenPages (#777): { page, completedAt }[] for the session user, oldest completion first, empty when no tour page has been marked seen. completedAt is ISO-8601 UTC and is not refreshed by a repeat mark. Tour writes are POST and DELETE /api/user/settings/app-tour; this PATCH does not accept or return appTour. Includes showPullsInFeed (default true) for the live pull feed opt-in (#883). Includes notifyPacks (boolean, default true) for the free-packs-refilled push opt-out (#914). Includes packAntialias (auto | off | fxaa | smaa | msaa, default auto) for the pack-opening antialiasing mode (#923). Includes packQuality (auto | low | mid | high, default auto; native #854/W8); the server stores the choice and the device resolves auto. Includes packSummaryLayout (auto | grid | compact | carousel | marquee, default auto; #1155) for the 3D pack-opening summary layout; the server stores the choice and native renders it. Includes customizerPreviewMode (full | compact, default full) for the pinned customizer preview (#931). Includes showOpenChoiceSheet (boolean, default true) and defaultOpenAction (open_now | open_later, default open_later; stored as PackOpenAction OPEN_NOW | OPEN_LATER) plus packOpenChoice { showSheet, defaultAction } for the post-checkout Open now / Open later sheet (#930). The server never opens a pack from this preference. Includes timezone (IANA, or null until the device reports it), quietStart, and quietEnd (HH:mm 24h, or null) for quiet hours (#947). A missing zone, a half-set window, or equal start and end does not suppress pushes. Includes marketingEmailOptIn (CASL express consent for marketing email, default false, #1032) with marketingEmailConsentAt (ISO-8601 or null) and marketingEmailConsentSource (settings | onboarding, or null); both are null unless the fan is opted in.

get/api/user/settings

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Response

{ success, data } where data is the UserSettings row plus appTour: { seenPages: [{ page, completedAt }] }. seenPages is [] when nothing has been marked. Also packOpenChoice { showSheet, defaultAction }, showOpenChoiceSheet, defaultOpenAction (open_now | open_later), customizerPreviewMode (full | compact), and packAntialias (auto | off | fxaa | smaa | msaa), plus packQuality (auto | low | mid | high; default auto; device resolves auto), and packSummaryLayout (auto | grid | compact | carousel | marquee; default auto). Also autoRefreshIntervalSec (0 or 30..3600 seconds, default 60), requirePinForInventoryMove (boolean, default false), walletReminderSnoozedUntil, and walletReminderDismissedAt (ISO-8601 date-times with timezone or null).

Changes