api file for listAllApplications action