Consolidating APIs for personal clouds