Save a negative feed preference
Changed onAuthenticated. Body { subjectType, subjectId, kind }. 201 { success, data: { id, subjectType, subjectId, kind, createdAt } }. Idempotent on (subjectType, subjectId): one row per pair, and a repeat with a different kind updates that row (still 201, returned kind matches the request). subjectId is trimmed, 1–200 characters, no NUL; unknown keys are rejected (400 VALIDATION_ERROR). Cap is 200 rows per user across both surfaces; a new pair at the cap is 409 PREFERENCE_CAP and the oldest row is kept. A replay of an existing pair does not count toward the cap. creative is stored on the promoted surface; every other subjectType is organic. Writes (this POST and DELETE) share a 30/minute/user limit (429 RATE_LIMITED). A missing User row is 404 NOT_FOUND.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Request body
Response
{ success, data: FeedPreference } including idempotent replay; kind matches the request
Changes
- info
endpoint added
- info