CORE-4864: Added filtering for the /paged-directory endpoint.