Admin::Report
Admin-level information about a filed report.
Example
{
"id": "1",
"action_taken": false,
"action_taken_at": null,
"category": "spam",
"comment": "",
"forwarded": false,
"created_at": "2022-09-09T21:19:23.085Z",
"updated_at": "2022-09-09T21:19:23.085Z",
"account": {
"id": "108965218747268792",
"username": "admin",
"domain": null,
"created_at": "2022-09-08T22:48:07.985Z",
"email": "admin@mastodon.local",
// ...
"account": {
"id": "108965218747268792",
"username": "admin",
"acct": "admin",
// ...
}
},
"target_account": {
"id": "108965430868193066",
"username": "goody",
"domain": null,
"created_at": "2022-09-08T23:42:04.731Z",
"email": "goody@mastodon.local",
// ...
"account": {
"id": "108965430868193066",
"username": "goody",
"acct": "goody",
// ...
}
},
"assigned_account": null,
"action_taken_by_account": null,
"statuses": [],
"rules": []
}
Attributes
id
Description: The ID of the report in the database.
Type: String (cast from an integer, but not guaranteed to be a number)
Version history:
2.9.1 - added
action_taken
Description: Whether an action was taken to resolve this report.
Type: Boolean
Version history:
2.9.1 - added
action_taken_at
Description: When an action was taken, if this report is currently resolved.
Type: nullable String (ISO 8601 Datetime) or null
Version history:
2.9.1 - added
category
Description: The category under which the report is classified.
Type: String (Enumerable oneOf)spam
= Malicious, fake, or repetitive contentviolation
= Violates one or more specific rules
other
= The default (catch-all) category
Version history:
3.5.0 - added
comment
Description: An optional reason for reporting.
Type: String
Version history:
2.9.1 - added
forwarded
Description: Whether a report was forwarded to a remote instance.
Type: Boolean
Version history:
4.0.0 - added
created_at
Description: The time the report was filed.
Type: String (ISO 8601 Datetime)
Version history:
2.9.1 - added
updated_at
Description: The time of last action on this report.
Type: String (ISO 8601 Datetime)
Version history:
2.9.1 - added
account
Description: The account which filed the report.
Type: Admin::Account
Version history:
2.9.1 - added
target_account
Description: The account being reported.
Type: Admin::Account
Version history:
2.9.1 - added
assigned_account
Description: The account of the moderator assigned to this report.
Type: nullable Admin::Account or null
Version history:
2.9.1 - added
action_taken_by_account
Description: The account of the moderator who handled the report.
Type: nullable Admin::Account or null
Version history:
2.9.1 - added
statuses
Description: Statuses attached to the report, for context.
Type: Array of Status
Version history:
2.9.1 - added
rules
Description: Rules attached to the report, for context.
Type: Array of Rule
Version history:
3.5.0 - added
See also
admin/reports API methods app/serializers/rest/admin/report_serializer.rbLast updated March 8, 2023 · Improve this page