cloud api implementation