Configure the default pagination for the api