User

Get user or suggestions

Changed on

suggest=1: suggested users (auth). No id: current user (auth). id and/or handle: public profile. Current-user payload always includes interests (array; empty means none) and interestsCapturedAt (ISO 8601 or null if never captured). Rep: trophies is the PointsHistory sum only and never changes meaning — old clients read it. fanRep is the combined total (PointsHistory + RepLedgerEntry) and is what new clients should read. Self payload also includes optional config (DSE-368 feed control plane: feedRanking, signalsEnabled, signalSampleRate, adsEnabled, adsPersonalized, experiments). adsEnabled is ad inventory (first-party, defaults on); adsPersonalized is whether that inventory may be selected from behavioural signals. It is true only when the FEED_ADS_PERSONALIZED kill switch is on AND UserSettings.personalizedAdsConsent is true (GDPR Art. 6(1)(a), default false, #785). When UserSettings.analyticsPersonalization is false (#614), config is forced to legacy / signals off / sample 0, while adsEnabled passes through and ad consent is unchanged. Omitted for other profiles / signed-out — clients use safe defaults (legacy / signals off / sample 0 / inventory on / targeting off). Owner config also always emits lineupCtaWindow: { opensBeforeKickoffMs, closesAfterEndMs } | null (#1116). Both values are integers clamped to 0..86400000, from FEED_LINEUP_CTA_OPENS_BEFORE_KICKOFF_MS and FEED_LINEUP_CTA_CLOSES_AFTER_END_MS; missing/incomplete/invalid configuration returns null. Trimmed signed decimal integers are accepted; fractions, exponents, hexadecimal and non-finite values are invalid. No automatic 4h/15m defaults are enabled. Analytics personalization opt-out preserves this global product timing.

get/api/user

Request

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

Query parameters

suggeststring
idstring
handlestring

Response

User object or suggestions array

Changes