Skip to content

Returns the paginated moderation queue, newest first, with the reported post or comment, its author and the reporting member attached.

Filter with post_id, parent_id, status and content_type. The reported content title is replaced with a 160-character excerpt of its body so the queue can be scanned without loading full posts.

Endpoint

  • Method: GET

  • Path: /moderation/reports

  • Edition: PRO

  • Controller: ModerationController@get

  • Route source: fluent-community-pro/app/Http/Routes/api.php:98

  • Controller source: fluent-community-pro/app/Http/Controllers/ModerationController.php

  • Requires a community moderator, or the admin or moderator role in the space named by space_id.

  • The listing is not scoped to a space: a space moderator who passes space_id to satisfy the policy still receives reports from every space, including ones they do not moderate.

  • The route only exists while the content_moderation feature is enabled; with the flag off it returns 404 rather than a permission error.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET List Moderation Reports

GET
/moderation/reports

Returns the paginated moderation queue, newest first, with the reported post or comment, its author and the reporting member attached.

Controller: ModerationController@get
Route source: fluent-community-pro/app/Http/Routes/api.php:98

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Parameters

Query Parameters

post_id

Post ID read via $request->getSafe() in get().

Type
string
parent_id

Parent ID read via $request->getSafe() in get().

Type
string
status

Status read via $request->getSafe() in get().

Type
string
content_type

Content Type read via $request->getSafe() in get().

Type
string

Responses

Successful response

application/json
JSON
{
  
"reports": {
  
  
"current_page": 0,
  
  
"data": [
  
  
  
{
  
  
  
  
"comment": "string",
  
  
  
  
"content_type": "string",
  
  
  
  
"created_at": "string",
  
  
  
  
"explanation": "string",
  
  
  
  
"id": 0,
  
  
  
  
"meta": "string",
  
  
  
  
"parent_id": "string",
  
  
  
  
"post": {
  
  
  
  
  
"comments_count": 0,
  
  
  
  
  
"content_type": "string",
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
"expired_at": "string",
  
  
  
  
  
"featured_image": "string",
  
  
  
  
  
"id": 0,
  
  
  
  
  
"is_sticky": 0,
  
  
  
  
  
"message": "string",
  
  
  
  
  
"message_rendered": "string",
  
  
  
  
  
"meta": {
  
  
  
  
  
  
"auto_flagged": "string",
  
  
  
  
  
  
"flagged_reason": "string",
  
  
  
  
  
  
"media_preview": "string",
  
  
  
  
  
  
"prevent_published": "string",
  
  
  
  
  
  
"reports_count": 0
  
  
  
  
  
},
  
  
  
  
  
"parent_id": "string",
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
"priority": 0,
  
  
  
  
  
"privacy": "string",
  
  
  
  
  
"reactions_count": 0,
  
  
  
  
  
"scheduled_at": "string",
  
  
  
  
  
"slug": "string",
  
  
  
  
  
"space": {
  
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
  
"created_by": "string",
  
  
  
  
  
  
"description": "string",
  
  
  
  
  
  
"id": 0,
  
  
  
  
  
  
"logo": "string",
  
  
  
  
  
  
"parent_id": "string",
  
  
  
  
  
  
"privacy": "string",
  
  
  
  
  
  
"serial": "string",
  
  
  
  
  
  
"settings": {
  
  
  
  
  
  
  
"can_request_join": "string",
  
  
  
  
  
  
  
"custom_lock_screen": "string",
  
  
  
  
  
  
  
"default_comment_sort_by": "string",
  
  
  
  
  
  
  
"default_post_sort_by": "string",
  
  
  
  
  
  
  
"disable_layout_style": "string",
  
  
  
  
  
  
  
"disable_post_sort_by": "string",
  
  
  
  
  
  
  
"document_access": "string",
  
  
  
  
  
  
  
"document_library": "string",
  
  
  
  
  
  
  
"document_upload": "string",
  
  
  
  
  
  
  
"emoji": "string",
  
  
  
  
  
  
  
"hide_members_count": "string",
  
  
  
  
  
  
  
"layout_style": "string",
  
  
  
  
  
  
  
"links": [
  
  
  
  
  
  
  
  
{
  
  
  
  
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
  
  
  
  
}
  
  
  
  
  
  
  
],
  
  
  
  
  
  
  
"media_access": "string",
  
  
  
  
  
  
  
"media_gallery": "string",
  
  
  
  
  
  
  
"members_page_status": "string",
  
  
  
  
  
  
  
"og_image": "string",
  
  
  
  
  
  
  
"restricted_post_only": "string",
  
  
  
  
  
  
  
"shape_svg": "string",
  
  
  
  
  
  
  
"show_paywalls": "string",
  
  
  
  
  
  
  
"show_sidebar": "string",
  
  
  
  
  
  
  
"topic_required": "string"
  
  
  
  
  
  
},
  
  
  
  
  
  
"slug": "string",
  
  
  
  
  
  
"status": "string",
  
  
  
  
  
  
"title": "string",
  
  
  
  
  
  
"type": "string",
  
  
  
  
  
  
"updated_at": "string"
  
  
  
  
  
},
  
  
  
  
  
"space_id": "string",
  
  
  
  
  
"status": "string",
  
  
  
  
  
"title": "string",
  
  
  
  
  
"type": "string",
  
  
  
  
  
"updated_at": "string",
  
  
  
  
  
"user_id": "string",
  
  
  
  
  
"xprofile": {
  
  
  
  
  
  
"avatar": "string",
  
  
  
  
  
  
"badge": "string",
  
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
  
"display_name": "string",
  
  
  
  
  
  
"id": "string",
  
  
  
  
  
  
"is_verified": 0,
  
  
  
  
  
  
"last_activity": "string",
  
  
  
  
  
  
"meta": {
  
  
  
  
  
  
  
"badge_slug": [
  
  
  
  
  
  
  
  
{
  
  
  
  
  
  
  
  
  
"additionalProperties": "string"
  
  
  
  
  
  
  
  
}
  
  
  
  
  
  
  
],
  
  
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
  
  
"headline": "string",
  
  
  
  
  
  
  
"short_description_rendered": "string",
  
  
  
  
  
  
  
"website": "string"
  
  
  
  
  
  
},
  
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
  
"short_description": "string",
  
  
  
  
  
  
"status": "string",
  
  
  
  
  
  
"total_points": 0,
  
  
  
  
  
  
"updated_at": "string",
  
  
  
  
  
  
"user_id": 0,
  
  
  
  
  
  
"username": "string"
  
  
  
  
  
}
  
  
  
  
},
  
  
  
  
"post_id": "string",
  
  
  
  
"reason": "string",
  
  
  
  
"reporter": {
  
  
  
  
  
"avatar": "string",
  
  
  
  
  
"badge": "string",
  
  
  
  
  
"created_at": "string",
  
  
  
  
  
"display_name": "string",
  
  
  
  
  
"id": "string",
  
  
  
  
  
"is_verified": 0,
  
  
  
  
  
"last_activity": "string",
  
  
  
  
  
"meta": {
  
  
  
  
  
  
"cover_photo": "string",
  
  
  
  
  
  
"short_description_rendered": "string",
  
  
  
  
  
  
"website": "string"
  
  
  
  
  
},
  
  
  
  
  
"permalink": "string",
  
  
  
  
  
"short_description": "string",
  
  
  
  
  
"status": "string",
  
  
  
  
  
"total_points": 0,
  
  
  
  
  
"updated_at": "string",
  
  
  
  
  
"user_id": 0,
  
  
  
  
  
"username": "string"
  
  
  
  
},
  
  
  
  
"reports_count": "string",
  
  
  
  
"status": "string",
  
  
  
  
"type": "string",
  
  
  
  
"user_id": "string"
  
  
  
}
  
  
],
  
  
"first_page_url": "string",
  
  
"from": 0,
  
  
"last_page": 0,
  
  
"last_page_url": "string",
  
  
"links": [
  
  
  
{
  
  
  
  
"active": true,
  
  
  
  
"label": "string",
  
  
  
  
"url": "string"
  
  
  
}
  
  
],
  
  
"next_page_url": "string",
  
  
"path": "string",
  
  
"per_page": 0,
  
  
"prev_page_url": "string",
  
  
"to": 0,
  
  
"total": 0
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation