feat(hubs): REST API for hubs