Type Alias GetModlog

GetModlog: {
    comment_id?: CommentId;
    community_id?: CommunityId;
    listing_type?: ListingType;
    mod_person_id?: PersonId;
    other_person_id?: PersonId;
    page_back?: boolean;
    page_cursor?: ModlogCombinedPaginationCursor;
    post_id?: PostId;
    type_?: ModlogActionType;
}

Fetches the modlog.

Type declaration

  • Optionalcomment_id?: CommentId

    Filter by comment.

  • Optionalcommunity_id?: CommunityId

    Filter by the community.

  • Optionallisting_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.

  • Optionalmod_person_id?: PersonId

    Filter by the moderator.

  • Optionalother_person_id?: PersonId

    Filter by the other / modded person.

  • Optionalpage_back?: boolean
  • Optionalpage_cursor?: ModlogCombinedPaginationCursor
  • Optionalpost_id?: PostId

    Filter by post. Will include comments of that post.

  • Optionaltype_?: ModlogActionType

    Filter by the modlog action type.