HTTP resources server with API and based on buckets