added a draft for the apps api