Filters history based on specified criteriapost https://{baseUrl}/api/posts/filterPostsUsed for sorting, paging, and searching