REST API for points