Port buckets page for REST API.