Adding REST API v1.