Skip to content

feat: add report categorization fields to flag user endpoint - #485

Merged
RiwEZ merged 4 commits into
developfrom
feat-report-user-fields
Jul 31, 2026
Merged

feat: add report categorization fields to flag user endpoint#485
RiwEZ merged 4 commits into
developfrom
feat-report-user-fields

Conversation

@RiwEZ

@RiwEZ RiwEZ commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Add optional reportType, reason, and comment body fields to POST /api/v4/me/flags/{userId}, with validation and 403/422 error responses. Document per-(reporter, reportType) dedup semantics and clarify the DELETE endpoint withdraws all reports. Remove the dead, unreferenced v4/user/api.yaml.

@RiwEZ RiwEZ self-assigned this Jul 16, 2026
RiwEZ and others added 2 commits July 22, 2026 10:50
Add optional reportType, reason, and comment body fields to
POST /api/v4/me/flags/{userId}, with validation and 403/422
error responses. Document per-(reporter, reportType) dedup
semantics and clarify the DELETE endpoint withdraws all reports.
Remove the dead, unreferenced v4/user/api.yaml.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add UserWithModerationV3 schema (flags[].reportType/reason/comment plus
aiModerations, manualReview, lastFlaggedAt, lastReviewedAt) and point the
didFlag/didUnflag webhook responses at it. UserV3 left untouched so the ~120
non-webhook references stay accurate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@RiwEZ
RiwEZ merged commit 0908d9f into develop Jul 31, 2026
1 check passed
@RiwEZ
RiwEZ deleted the feat-report-user-fields branch July 31, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants