Create locker room post
Changed onCreate a post. content may be empty when media, poll, collectible, or lineup is present. teamId is the about-tag. authorTeamId / postAsTeamId is who the post is authored as (403 if unauthorized). lineup is persisted: { presetKey, assignments, faces }. Optional mentionedUserIds are resolved and echoed as mentions[] ({ id, handle, name?, profileUrl? }[]). A malformed mentionedUserIds is 400. The write stores tags with notifiedAt null and does not call OneSignal. GET /api/cron/locker-room-post-mentions sends SOCIAL_MENTION once the post is visible (scheduledFor null or already past), using dedupe key mention:post:{postId}:{userId}. Rejects with UGC_TERMS_REQUIRED when the caller's ugcTermsVersion is missing or not equal to the current Terms of Use version.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Request body
Response
{ success, data }
Changes
- info
added the new optional request property
- info
- info
added the non-success response with the status
- info