masto
    Preparing search index...

    Interface ReportAccountParams

    interface ReportAccountParams {
        accountId: string;
        category?: (keyof ReportCategoryRegistry) | null;
        comment?: string | null;
        forward?: boolean | null;
        forwardToDomains?: readonly string[] | null;
        ruleIds?: readonly string[] | null;
        statusIds?: readonly string[] | null;
    }
    Index

    Properties

    accountId: string

    ID of the account to report

    category?: (keyof ReportCategoryRegistry) | null

    category can be one of: spam, violation, other (default)

    comment?: string | null

    Reason for the report (default max 1000 characters)

    forward?: boolean | null

    If the account is remote, should the report be forwarded to the remote admin?

    forwardToDomains?: readonly string[] | null
    ruleIds?: readonly string[] | null

    must reference rules returned in GET /api/v1/instance

    statusIds?: readonly string[] | null

    Array of Statuses to attach to the report, for context