lemmy-js-client
    Preparing search index...

    Type Alias ListReports

    List reports.

    type ListReports = {
        community_id?: CommunityId;
        limit?: number;
        my_reports_only?: boolean;
        page_back?: boolean;
        page_cursor?: PaginationCursor;
        post_id?: PostId;
        show_community_rule_violations?: boolean;
        type_?: ReportType;
        unresolved_only?: boolean;
    }
    Index

    Properties

    community_id?: CommunityId

    if no community is given, it returns reports for all communities moderated by the auth user

    limit?: number
    my_reports_only?: boolean

    If true, view all your created reports. Works for non-admins/mods also.

    page_back?: boolean
    page_cursor?: PaginationCursor

    Optionalpost_id

    post_id?: PostId

    Filter by the post id. Can return either comment or post reports.

    show_community_rule_violations?: boolean

    Only for admins: also show reports with violates_instance_rules=false

    type_?: ReportType

    Filter the type of report.

    unresolved_only?: boolean

    Only shows the unresolved reports