added apps api endpoint