REST api for Dart