RestApi Design