Apply paging in /resource/type REST endpoint.