Reports
User Reports
This section describes the User Reports management in the admin panel. Admins can view, filter, and take actions on user reports submitted by platform users.
User Reports List
Endpoint:
Admins access reports via the User Reports page in the admin panel.
Filters:
- Block User - Filter by whether the reported user is blocked (
yes
,no
,all
). - Status - Filter reports by status (
pending
,resolved
,all
).
Table Structure:
Column | Description |
---|---|
Checkbox | Select multiple reports for bulk actions |
User | Reported user profile (name, username, avatar) |
Reason | Report reason (harassment, spam, AI-generated, etc.) |
Reporter | User who submitted the report |
Status | pending or resolved |
Block User | Shows whether the user is currently blocked |
Actions | Admin actions (block/unblock, resolve, delete) |
Actions Available:
- Block/Unblock User - Toggle block status of the reported user.
- Mark as Resolved - Change report status to
resolved
. - Delete Report - Permanently delete the report entry.
Admin Panel UI
- Navigate to User Reports in the admin panel.
- The admin can:
- View all reported users in a table.
- Filter reports by status (pending, resolved) and block user status.
- Take actions on reported users (block, delete, mark resolved).
Features
- View Reports: Displays reported users along with details about the reporter and reason.
- Filter Reports: Allows filtering based on status (
pending
,resolved
) and block user status (yes
,no
). - Take Action:
- Block User: Prevents the reported user from posting further content.
- Delete User: Removes the reported user from the platform.
- Resolve Report: Marks the report as resolved without taking action.
Usage Flow
- Admin accesses the User Reports page.
- Admin reviews the reported users with relevant details.
- Admin selects an appropriate action:
- Blocks the user if violations occur.
- Deletes the user account if necessary.
- Resolves the report if no action is required.
- The system updates the status of the report accordingly.
Error Handling
- Invalid report ID: Returns
404 Not Found
- Unauthorized request: Returns
403 Forbidden
- Server errors: Returns
500 Internal Server Error
Conclusion
The User Reports Management system ensures that administrators can efficiently handle reported users, maintaining a safe and compliant environment. The API endpoints allow seamless integration with moderation tools.
User Reports API Documentation The API allows dynamic control over User Reports processes. More details in the API Reference section.