Mark an app tour page seen
Changed onAuthenticated. Marks one tour page seen for the session user (#777). Idempotent: a repeat call, including one that loses a unique-constraint race with another device, returns 200 with alreadySeen true and the original completedAt. It does not insert a duplicate row and it is not an error. A userId in the body is ignored. Page key format: ^[a-z][a-z0-9](-[a-z0-9]+)$, length 1-64 (lowercase kebab-case). Canonical auto-start keys (engage-native TOP_LEVEL_PAGES): locker-room, leaderboard, profile, shop, wallet. Other TOUR_PAGES keys today: hq-hub, hq-match, post, scan-qr, search, notifications, lb-team, lb-browse, settings, market-packs, market-collectibles, market-trading, market-wishlist. The server accepts any key matching the pattern; it is not a closed enum. completedAt is ISO-8601 UTC.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Request body
Response
{ success: true, data: { page, completedAt, alreadySeen, appTour: { seenPages: [{ page, completedAt }] } } }. alreadySeen is false on the inserting call and true when the row already existed. completedAt does not move. seenPages is the full set, oldest completion first.
Changes
- info
endpoint added
- info