rcloud.api should return the promises