lemmy-js-client
    Preparing search index...

    Type Alias GetModlog

    Fetches the modlog.

    type GetModlog = {
        comment_id?: CommentId;
        community_id?: CommunityId;
        limit?: number;
        listing_type?: ListingType;
        mod_person_id?: PersonId;
        other_person_id?: PersonId;
        page_back?: boolean;
        page_cursor?: PaginationCursor;
        post_id?: PostId;
        type_?: ModlogActionType;
    }
    Index

    Properties

    comment_id?: CommentId

    Filter by comment.

    community_id?: CommunityId

    Filter by the community.

    limit?: number
    listing_type?: ListingType

    Filter by listing type. When not using All, it will remove the non-community modlog entries, such as site bans, instance blocks, adding an admin, etc.

    mod_person_id?: PersonId

    Filter by the moderator.

    other_person_id?: PersonId

    Filter by the other / modded person.

    page_back?: boolean
    page_cursor?: PaginationCursor

    Optionalpost_id

    post_id?: PostId

    Filter by post. Will include comments of that post.

    Filter by the modlog action type.