Interface Report

Reports filed against users and/or statuses, to be taken action on by moderators.

interface Report {
    actionTaken: boolean;
    actionTakenAt?: null | string;
    category: ReportCategory;
    comment: string;
    createdAt: string;
    forwarded: boolean;
    id: string;
    ruleIds?: null | string[];
    statusIds?: null | string[];
    targetAccount: mastodon.v1.Account;
}

Properties

actionTaken: boolean

Whether an action was taken yet.

actionTakenAt?: null | string

When an action was taken against the report.

category: ReportCategory

The generic reason for the report.

spam = Unwanted or repetitive content

violation = A specific rule was violated

other = Some other reason

comment: string

The reason for the report.

createdAt: string

When the report was created

forwarded: boolean

Whether the report was forwarded to a remote domain

id: string

The ID of the report in the database.

ruleIds?: null | string[]

IDs of the rules that have been cited as a violation by this report.

statusIds?: null | string[]

IDs of statuses that have been attached to this report for additional context.

targetAccount: mastodon.v1.Account

The account that was reported.